Interface DownloadRequestCallback


public interface DownloadRequestCallback
A callback for the result of the download request.
  • Method Summary

    Modifier and Type Method Description
    void onFailure​(java.lang.Throwable t)
    Called when a request failed.
    void onSuccess()
    Called when a request completes successfully.
  • Method Details

    • onSuccess

      void onSuccess()
      Called when a request completes successfully.
    • onFailure

      void onFailure​(java.lang.Throwable t)
      Called when a request failed.
      Parameters:
      t - The error containing the information about why the request failed.