UpdateStatus
enum UpdateStatus
Enum for possible states during Update, used in UpdateProgress.
Summary
Enum Values |
|
|---|---|
DOWNLOADED |
The new release was downloaded successfully. |
DOWNLOADING |
The new release download is in progress. |
DOWNLOAD_FAILED |
The new release failed to download. |
INSTALL_CANCELED |
The new release installation was canceled. |
INSTALL_FAILED |
The new release installation failed. |
NEW_RELEASE_CHECK_FAILED |
The call to |
NEW_RELEASE_NOT_AVAILABLE |
The tester is currently on the latest release they have access to for the current app. |
PENDING |
The update is queued but not started. |
REDIRECTED_TO_PLAY |
The tester was redirected to Play to download an |
UPDATE_CANCELED |
The tester canceled the update. |
Public functions |
|
|---|---|
java-static UpdateStatus! |
Returns the enum constant of this type with the specified name. |
java-static Array<UpdateStatus!>! |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
INSTALL_CANCELED
val UpdateStatus.INSTALL_CANCELED: UpdateStatus
The new release installation was canceled.
NEW_RELEASE_CHECK_FAILED
val UpdateStatus.NEW_RELEASE_CHECK_FAILED: UpdateStatus
The call to checkForNewRelease failed.
NEW_RELEASE_NOT_AVAILABLE
val UpdateStatus.NEW_RELEASE_NOT_AVAILABLE: UpdateStatus
The tester is currently on the latest release they have access to for the current app.
REDIRECTED_TO_PLAY
val UpdateStatus.REDIRECTED_TO_PLAY: UpdateStatus
The tester was redirected to Play to download an AAB file.
Public functions
valueOf
java-static fun valueOf(name: String!): UpdateStatus!
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
| Returns | |
|---|---|
UpdateStatus! |
the enum constant with the specified name |
| Throws | |
|---|---|
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException |
if this enum type has no constant with the specified name |
values
java-static fun values(): Array<UpdateStatus!>!
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
| Returns | |
|---|---|
Array<UpdateStatus!>! |
an array containing the constants of this enum type, in the order they're declared |