UpdateStatus

public 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 methods

static UpdateStatus

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

static UpdateStatus[]

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

Enum Values

DOWNLOADED

UpdateStatus UpdateStatus.DOWNLOADED

The new release was downloaded successfully.

DOWNLOADING

UpdateStatus UpdateStatus.DOWNLOADING

The new release download is in progress.

DOWNLOAD_FAILED

UpdateStatus UpdateStatus.DOWNLOAD_FAILED

The new release failed to download.

INSTALL_CANCELED

UpdateStatus UpdateStatus.INSTALL_CANCELED

The new release installation was canceled.

INSTALL_FAILED

UpdateStatus UpdateStatus.INSTALL_FAILED

The new release installation failed.

NEW_RELEASE_CHECK_FAILED

UpdateStatus UpdateStatus.NEW_RELEASE_CHECK_FAILED

The call to checkForNewRelease failed.

NEW_RELEASE_NOT_AVAILABLE

UpdateStatus UpdateStatus.NEW_RELEASE_NOT_AVAILABLE

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

PENDING

UpdateStatus UpdateStatus.PENDING

The update is queued but not started.

REDIRECTED_TO_PLAY

UpdateStatus UpdateStatus.REDIRECTED_TO_PLAY

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

UPDATE_CANCELED

UpdateStatus UpdateStatus.UPDATE_CANCELED

The tester canceled the update.

Public methods

valueOf

public static UpdateStatus valueOf(String name)

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

public static UpdateStatus[] values()

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
UpdateStatus[]

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