SystemUpdate.SystemUpdateState.ReasonCase.Kind

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 functions

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

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

java-static Array<SystemUpdate.SystemUpdateState.ReasonCase.Kind!>!

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

Enum Values

ABORT_REASON

val SystemUpdate.SystemUpdateState.ReasonCase.Kind.ABORT_REASONSystemUpdate.SystemUpdateState.ReasonCase.Kind

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

OVERRIDE_REASON

val SystemUpdate.SystemUpdateState.ReasonCase.Kind.OVERRIDE_REASONSystemUpdate.SystemUpdateState.ReasonCase.Kind

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

val SystemUpdate.SystemUpdateState.ReasonCase.Kind.PREVENTION_REASONSystemUpdate.SystemUpdateState.ReasonCase.Kind

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 functions

valueOf

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

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

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

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.ReasonCase.Kind!>!

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