DownloadCallback

public interface DownloadCallback

Callback functions used for feature downloading.

Public Method Summary

void
onDownloadCompleted()
Called when the feature download is completed.
void
onDownloadFailed(GenAiException e)
Called when the feature download failed.
void
onDownloadProgress(long totalBytesDownloaded)
Called when the feature download is in progress.
void
onDownloadStarted(long bytesToDownload)
Called when the feature download started properly.

Public Methods

public void onDownloadCompleted ()

Called when the feature download is completed.

public void onDownloadFailed (GenAiException e)

Called when the feature download failed.

public void onDownloadProgress (long totalBytesDownloaded)

Called when the feature download is in progress.

public void onDownloadStarted (long bytesToDownload)

Called when the feature download started properly.