Class DownloadsApiAsync

java.lang.Object
com.mypurecloud.sdk.v2.api.DownloadsApiAsync

public class DownloadsApiAsync extends Object
  • Constructor Details

    • DownloadsApiAsync

      public DownloadsApiAsync()
    • DownloadsApiAsync

      public DownloadsApiAsync(ApiClient apiClient)
  • 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 object
      callback - 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 object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed