DownloadCallback

interface DownloadCallback


Callback functions used for feature downloading.

Summary

Public functions

Unit

Called when the feature download is completed.

Unit

Called when the feature download failed.

Unit
onDownloadProgress(totalBytesDownloaded: Long)

Called when the feature download is in progress.

Unit
onDownloadStarted(bytesToDownload: Long)

Called when the feature download started properly.

Public functions

onDownloadCompleted

fun onDownloadCompleted(): Unit

Called when the feature download is completed.

onDownloadFailed

fun onDownloadFailed(e: GenAiException): Unit

Called when the feature download failed.

onDownloadProgress

fun onDownloadProgress(totalBytesDownloaded: Long): Unit

Called when the feature download is in progress.

onDownloadStarted

fun onDownloadStarted(bytesToDownload: Long): Unit

Called when the feature download started properly.