SystemUpdate.SystemUpdateState.Stage

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 functions

java-static SystemUpdate.SystemUpdateState.Stage!
valueOf(name: String!)

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

java-static Array<SystemUpdate.SystemUpdateState.Stage!>!

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

Enum Values

ABORTED

val SystemUpdate.SystemUpdateState.Stage.ABORTEDSystemUpdate.SystemUpdateState.Stage

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

APPLIED

val SystemUpdate.SystemUpdateState.Stage.APPLIEDSystemUpdate.SystemUpdateState.Stage

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

APPLY_PREVENTED

val SystemUpdate.SystemUpdateState.Stage.APPLY_PREVENTEDSystemUpdate.SystemUpdateState.Stage

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

val SystemUpdate.SystemUpdateState.Stage.AVAILABLESystemUpdate.SystemUpdateState.Stage

The system update is discovered and available for download.

DOWNLOADING

val SystemUpdate.SystemUpdateState.Stage.DOWNLOADINGSystemUpdate.SystemUpdateState.Stage

The system update is downloading.

DOWNLOAD_PREVENTED

val SystemUpdate.SystemUpdateState.Stage.DOWNLOAD_PREVENTEDSystemUpdate.SystemUpdateState.Stage

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 functions

valueOf

java-static fun valueOf(name: String!): SystemUpdate.SystemUpdateState.Stage!

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

java-static fun values(): Array<SystemUpdate.SystemUpdateState.Stage!>!

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

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