StudioSoundClient.InstallStatusCallback

public interface StudioSoundClient.InstallStatusCallback


Callback interface for listening to optional module installation and download progress.

Summary

Public methods

default void

Called when the installation of the module is canceled.

default void

Called when the download of the module has completed and installation is about to begin.

default void

Called when the download of the module has paused.

default void

Called when the module download request is queued and pending execution.

default void

Called periodically while the module is being downloaded to report progress.

default void

Called when the download of the module has started.

default void
onError(String description)

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

default void

Called when the module has finished installing and is ready for use.

Public methods

onCancelled

default void onCancelled()

Called when the installation of the module is canceled.

onDownloadComplete

default void onDownloadComplete()

Called when the download of the module has completed and installation is about to begin.

onDownloadPaused

default void onDownloadPaused()

Called when the download of the module has paused.

onDownloadPending

default void onDownloadPending()

Called when the module download request is queued and pending execution.

onDownloadProgressUpdate

default void onDownloadProgressUpdate(int progress)

Called periodically while the module is being downloaded to report progress.

Parameters
int progress

the current download progress percentage, in the range [0, 100]

onDownloadStart

default void onDownloadStart()

Called when the download of the module has started.

onError

default void onError(String description)

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

Parameters
String description

a human-readable description of the error

onInstalled

default void onInstalled()

Called when the module has finished installing and is ready for use.