LowLightBoostClient.InstallStatusCallback

interface LowLightBoostClient.InstallStatusCallback


A callback for the module installation status.

Summary

Public functions

Unit

Called when the installation of the module is cancelled.

Unit

Called when the download of the module has completed.

Unit

Called when the download of the module has paused.

Unit

Called when the download of the module is pending.

Unit

Called while the module is being downloaded with the current download progress.

Unit

Called when the download of the module has started.

Unit
onError(description: String)

Called when an error occurs during the installation of the module.

Unit

Called when the module has finished installing.

Public functions

onCancelled

fun onCancelled(): Unit

Called when the installation of the module is cancelled.

onDownloadComplete

fun onDownloadComplete(): Unit

Called when the download of the module has completed.

onDownloadPaused

fun onDownloadPaused(): Unit

Called when the download of the module has paused.

onDownloadPending

fun onDownloadPending(): Unit

Called when the download of the module is pending.

onDownloadProgressUpdate

fun onDownloadProgressUpdate(progress: Int): Unit

Called while the module is being downloaded with the current download progress.

Parameters
progress: Int

The current download progress, in the range 0, 100.

onDownloadStart

fun onDownloadStart(): Unit

Called when the download of the module has started.

onError

fun onError(description: String): Unit

Called when an error occurs during the installation of the module.

Parameters
description: String

A description of the error.

onInstalled

fun onInstalled(): Unit

Called when the module has finished installing.