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 checkForNewRelease failed.

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 AAB file.

UPDATE_CANCELED

The tester canceled the update.

Public functions

java-static UpdateStatus!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<UpdateStatus!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

DOWNLOADED

val UpdateStatus.DOWNLOADEDUpdateStatus

The new release was downloaded successfully.

DOWNLOADING

val UpdateStatus.DOWNLOADINGUpdateStatus

The new release download is in progress.

DOWNLOAD_FAILED

val UpdateStatus.DOWNLOAD_FAILEDUpdateStatus

The new release failed to download.

INSTALL_CANCELED

val UpdateStatus.INSTALL_CANCELEDUpdateStatus

The new release installation was canceled.

INSTALL_FAILED

val UpdateStatus.INSTALL_FAILEDUpdateStatus

The new release installation failed.

NEW_RELEASE_CHECK_FAILED

val UpdateStatus.NEW_RELEASE_CHECK_FAILEDUpdateStatus

The call to checkForNewRelease failed.

NEW_RELEASE_NOT_AVAILABLE

val UpdateStatus.NEW_RELEASE_NOT_AVAILABLEUpdateStatus

The tester is currently on the latest release they have access to for the current app.

PENDING

val UpdateStatus.PENDINGUpdateStatus

The update is queued but not started.

REDIRECTED_TO_PLAY

val UpdateStatus.REDIRECTED_TO_PLAYUpdateStatus

The tester was redirected to Play to download an AAB file.

UPDATE_CANCELED

val UpdateStatus.UPDATE_CANCELEDUpdateStatus

The tester canceled the update.

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