LowLightBoostClient.InstallStatusCallback

public interface LowLightBoostClient.InstallStatusCallback


A callback for the module installation status.

Summary

Public methods

abstract void

Called when the installation of the module is cancelled.

abstract void

Called when the download of the module has completed.

abstract void

Called when the download of the module has paused.

abstract void

Called when the download of the module is pending.

abstract void

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

abstract void

Called when the download of the module has started.

abstract void
onError(@NonNull String description)

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

abstract void

Called when the module has finished installing.

Public methods

onCancelled

abstract void onCancelled()

Called when the installation of the module is cancelled.

onDownloadComplete

abstract void onDownloadComplete()

Called when the download of the module has completed.

onDownloadPaused

abstract void onDownloadPaused()

Called when the download of the module has paused.

onDownloadPending

abstract void onDownloadPending()

Called when the download of the module is pending.

onDownloadProgressUpdate

abstract void onDownloadProgressUpdate(int progress)

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

Parameters
int progress

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

onDownloadStart

abstract void onDownloadStart()

Called when the download of the module has started.

onError

abstract void onError(@NonNull String description)

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

Parameters
@NonNull String description

A description of the error.

onInstalled

abstract void onInstalled()

Called when the module has finished installing.