Package com.mypurecloud.sdk.v2.api
Class DownloadsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.DownloadsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDownloadAsync(GetDownloadRequest request, AsyncApiCallback<UrlResponse> callback) Issues a redirect to a signed secure download URL for specified download this method will issue a redirect to the url to the contentgetDownloadAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UrlResponse>> callback) Issues a redirect to a signed secure download URL for specified download this method will issue a redirect to the url to the content
-
Constructor Details
-
DownloadsApiAsync
public DownloadsApiAsync() -
DownloadsApiAsync
-
-
Method Details
-
getDownloadAsync
public Future<UrlResponse> getDownloadAsync(GetDownloadRequest request, AsyncApiCallback<UrlResponse> callback) Issues a redirect to a signed secure download URL for specified download this method will issue a redirect to the url to the content- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getDownloadAsync
public Future<ApiResponse<UrlResponse>> getDownloadAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UrlResponse>> callback) Issues a redirect to a signed secure download URL for specified download this method will issue a redirect to the url to the content- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-