The status update of a ModuleInstallRequest.
| @interface | ModuleInstallStatusUpdate.InstallState | The current install state for the install request. | |
| class | ModuleInstallStatusUpdate.ProgressInfo | Download progress information for an
ModuleInstallStatusUpdate. |
|
| public static final Creator<ModuleInstallStatusUpdate> | CREATOR |
| int |
getErrorCode()
Returns the error code from
ModuleInstallStatusCodes, or
ModuleInstallStatusCodes.SUCCESS if the install is successful or in
progress.
|
| int |
getInstallState()
Returns the
ModuleInstallStatusUpdate.InstallState of an optional module install
session.
|
| ModuleInstallStatusUpdate.ProgressInfo |
getProgressInfo()
Returns the download progress information including the bytes downloaded so far
and total bytes to download.
|
| int |
getSessionId()
Returns the session id that corresponding to a
ModuleInstallRequest.
|
| void |
writeToParcel(Parcel parcel, int
i)
|
Returns the error code from
ModuleInstallStatusCodes, or
ModuleInstallStatusCodes.SUCCESS if the install is successful or in
progress.
Returns the
ModuleInstallStatusUpdate.InstallState of an optional module install
session.
Returns the download progress information including the bytes downloaded so far and total bytes to download.
When there are modules to download, the progress info would be provided on the
following state:
ModuleInstallStatusUpdate.InstallState.STATE_DOWNLOADING,
ModuleInstallStatusUpdate.InstallState.STATE_DOWNLOAD_PAUSED,
ModuleInstallStatusUpdate.InstallState.STATE_INSTALLING and
ModuleInstallStatusUpdate.InstallState.STATE_COMPLETED. Otherwise, this
method would return null.
Returns the session id that corresponding to a
ModuleInstallRequest.