UpdateControlState.ControlState

enum UpdateControlState.ControlState


The current state of the update control solution.

Summary

Enum Values

CONTROL_STATE_UNSPECIFIED

Default value.

OEM_CUSTOM_CONTROL

An OEM custom update control solution is active.

SYSTEM_UPDATE_POLICY_CONTROL

The UUC policy is ignored because a SystemUpdatePolicy is set, and the OTA client follows the SystemUpdatePolicy instead.

UNIFIED_UPDATE_CONTROL

The unified update control (UUC) is active.

Public functions

java-static UpdateControlState.ControlState!
valueOf(name: String!)

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

java-static Array<UpdateControlState.ControlState!>!

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

Enum Values

CONTROL_STATE_UNSPECIFIED

val UpdateControlState.ControlState.CONTROL_STATE_UNSPECIFIEDUpdateControlState.ControlState

Default value. The OTA client should not use this value.

OEM_CUSTOM_CONTROL

val UpdateControlState.ControlState.OEM_CUSTOM_CONTROLUpdateControlState.ControlState

An OEM custom update control solution is active. When in this state, the OEM client MUST NOT call policy or feedback methods in the AMAPI SDK.

SYSTEM_UPDATE_POLICY_CONTROL

val UpdateControlState.ControlState.SYSTEM_UPDATE_POLICY_CONTROLUpdateControlState.ControlState

The UUC policy is ignored because a SystemUpdatePolicy is set, and the OTA client follows the SystemUpdatePolicy instead.

UNIFIED_UPDATE_CONTROL

val UpdateControlState.ControlState.UNIFIED_UPDATE_CONTROLUpdateControlState.ControlState

The unified update control (UUC) is active.

Public functions

valueOf

java-static fun valueOf(name: String!): UpdateControlState.ControlState!

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
UpdateControlState.ControlState!

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<UpdateControlState.ControlState!>!

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<UpdateControlState.ControlState!>!

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