ModuleInstallStatusUpdate.InstallState

@Retention(value = RetentionPolicy.CLASS)
@IntDef(value = [InstallState.STATE_UNKNOWN, InstallState.STATE_PENDING, InstallState.STATE_DOWNLOADING, InstallState.STATE_CANCELED, InstallState.STATE_COMPLETED, InstallState.STATE_FAILED, InstallState.STATE_INSTALLING, InstallState.STATE_DOWNLOAD_PAUSED])
annotation ModuleInstallStatusUpdate.InstallState


The current install state for the install request.

Summary

Constants

const Int

The optional module download has been canceled.

const Int

Installation is completed; the optional modules are available to the client app.

const Int

The optional module download is in progress.

const Int

The optional module download has been paused.

const Int

The optional module download or installation has failed.

const Int

The optional modules have been downloaded and the installation is in progress.

const Int

The request is pending and will be processed soon.

const Int

Constants

STATE_CANCELED

const val STATE_CANCELED = 3: Int

The optional module download has been canceled.

STATE_COMPLETED

const val STATE_COMPLETED = 4: Int

Installation is completed; the optional modules are available to the client app.

STATE_DOWNLOADING

const val STATE_DOWNLOADING = 2: Int

The optional module download is in progress.

STATE_DOWNLOAD_PAUSED

const val STATE_DOWNLOAD_PAUSED = 7: Int

The optional module download has been paused.

This usually happens when connectivity requirements can't be met during download. Once the connectivity requirements are met, the download will be resumed automatically.

STATE_FAILED

const val STATE_FAILED = 5: Int

The optional module download or installation has failed.

STATE_INSTALLING

const val STATE_INSTALLING = 6: Int

The optional modules have been downloaded and the installation is in progress.

STATE_PENDING

const val STATE_PENDING = 1: Int

The request is pending and will be processed soon.

STATE_UNKNOWN

const val STATE_UNKNOWN = 0: Int