SystemUpdate.SystemUpdateState.Stage

public enum SystemUpdate.SystemUpdateState.Stage


Stage of a system update.

Summary

Enum Values

ABORTED

The system update is permanently no longer available.

APPLIED

The system update is applied.

APPLY_PREVENTED

The system update is prevented from being applied.

AVAILABLE

The system update is discovered and available for download.

DOWNLOADED

The system update is downloaded.

DOWNLOADING

The system update is downloading.

DOWNLOAD_PREVENTED

The system update is prevented from downloading.

STAGE_UNSPECIFIED

This must not be used.

Public methods

static SystemUpdate.SystemUpdateState.Stage

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

static SystemUpdate.SystemUpdateState.Stage[]

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

Enum Values

ABORTED

SystemUpdate.SystemUpdateState.Stage SystemUpdate.SystemUpdateState.Stage.ABORTED

The system update is permanently no longer available. This is a terminal stage and policy is not evaluated.

APPLIED

SystemUpdate.SystemUpdateState.Stage SystemUpdate.SystemUpdateState.Stage.APPLIED

The system update is applied. This is a terminal stage and policy is not evaluated.

APPLY_PREVENTED

SystemUpdate.SystemUpdateState.Stage SystemUpdate.SystemUpdateState.Stage.APPLY_PREVENTED

The system update is prevented from being applied. The OTA client is expected to recheck the condition and proceed to the APPLIED stage once the condition is resolved.

AVAILABLE

SystemUpdate.SystemUpdateState.Stage SystemUpdate.SystemUpdateState.Stage.AVAILABLE

The system update is discovered and available for download.

DOWNLOAD_PREVENTED

SystemUpdate.SystemUpdateState.Stage SystemUpdate.SystemUpdateState.Stage.DOWNLOAD_PREVENTED

The system update is prevented from downloading. The OTA client is expected to recheck the condition and proceed to the DOWNLOADED stage once the condition is resolved.

Public methods

valueOf

public static SystemUpdate.SystemUpdateState.Stage 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
SystemUpdate.SystemUpdateState.Stage

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static SystemUpdate.SystemUpdateState.Stage[] 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
SystemUpdate.SystemUpdateState.Stage[]

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