DownloadCallback

public interface DownloadCallback 

Callback functions used for feature downloading.

Summary

Public methods

default void

Called when the feature download is completed.

default void

Called when the feature download failed.

default void
onDownloadProgress (long totalBytesDownloaded)

Called when the feature download is in progress.

default void
onDownloadStarted (long bytesToDownload)

Called when the feature download started properly.

Public methods

onDownloadCompleted

default void  onDownloadCompleted 
()

Called when the feature download is completed.

onDownloadFailed

default void  onDownloadFailed 
(@ NonNull 
 GenAiException 
 e)

Called when the feature download failed.

onDownloadProgress

default void  onDownloadProgress 
(long totalBytesDownloaded)

Called when the feature download is in progress.

onDownloadStarted

default void  onDownloadStarted 
(long bytesToDownload)

Called when the feature download started properly.

Create a Mobile Website
View Site in Mobile | Classic
Share by: