SystemUpdate.SystemUpdateState.ReasonCase.Kind

public enum SystemUpdate.SystemUpdateState.ReasonCase.Kind


The possible kind of SystemUpdate.SystemUpdateState.ReasonCase.

Summary

Enum Values

ABORT_REASON

Abort reason.

NONE
OVERRIDE_REASON

Override reason.

PREVENTION_REASON

Prevention reason.

Public methods

static SystemUpdate.SystemUpdateState.ReasonCase.Kind

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

static SystemUpdate.SystemUpdateState.ReasonCase.Kind[]

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

Enum Values

ABORT_REASON

SystemUpdate.SystemUpdateState.ReasonCase.Kind SystemUpdate.SystemUpdateState.ReasonCase.Kind.ABORT_REASON

Abort reason. An update is aborted when it is no longer available.

OVERRIDE_REASON

SystemUpdate.SystemUpdateState.ReasonCase.Kind SystemUpdate.SystemUpdateState.ReasonCase.Kind.OVERRIDE_REASON

Override reason. An instruction is overridden when the OTA client proceeds with the update stage despite the BLOCK instruction or proceeds with the update stage without user confirmation for the USER_PROMPT instruction. When an instruction is overridden, a reason must be provided.

PREVENTION_REASON

SystemUpdate.SystemUpdateState.ReasonCase.Kind SystemUpdate.SystemUpdateState.ReasonCase.Kind.PREVENTION_REASON

Prevention reason. An instruction is prevented when the OTA client is instructed to FORCE proceed or the client is instructed to USER_PROMPT and the user has provided confirmation but the OTA client is prevented from proceeding. (e.g., insufficient battery, no network).

Public methods

valueOf

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

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.ReasonCase.Kind[] 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.ReasonCase.Kind[]

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