UpdateControlState.ControlState

public 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 methods

static UpdateControlState.ControlState

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

static UpdateControlState.ControlState[]

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

Enum Values

CONTROL_STATE_UNSPECIFIED

UpdateControlState.ControlState UpdateControlState.ControlState.CONTROL_STATE_UNSPECIFIED

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

OEM_CUSTOM_CONTROL

UpdateControlState.ControlState UpdateControlState.ControlState.OEM_CUSTOM_CONTROL

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

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

UpdateControlState.ControlState UpdateControlState.ControlState.UNIFIED_UPDATE_CONTROL

The unified update control (UUC) is active.

Public methods

valueOf

public static UpdateControlState.ControlState 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
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

public static UpdateControlState.ControlState[] 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
UpdateControlState.ControlState[]

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