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])
public annotation ModuleInstallStatusUpdate.InstallState


The current install state for the install request.

Summary

Constants

static final int

The optional module download has been canceled.

static final int

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

static final int

The optional module download is in progress.

static final int

The optional module download has been paused.

static final int

The optional module download or installation has failed.

static final int

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

static final int

The request is pending and will be processed soon.

static final int

Constants

STATE_CANCELED

public static final int STATE_CANCELED = 3

The optional module download has been canceled.

STATE_COMPLETED

public static final int STATE_COMPLETED = 4

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

STATE_DOWNLOADING

public static final int STATE_DOWNLOADING = 2

The optional module download is in progress.

STATE_DOWNLOAD_PAUSED

public static final int STATE_DOWNLOAD_PAUSED = 7

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

public static final int STATE_FAILED = 5

The optional module download or installation has failed.

STATE_INSTALLING

public static final int STATE_INSTALLING = 6

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

STATE_PENDING

public static final int STATE_PENDING = 1

The request is pending and will be processed soon.

STATE_UNKNOWN

public static final int STATE_UNKNOWN = 0