SystemUpdate.SystemUpdateState.PreventionReason.PreventionReasonType

public enum SystemUpdate.SystemUpdateState.PreventionReason.PreventionReasonType


Reason type for prevented state.

Summary

Enum Values

INSUFFICIENT_BATTERY

Insufficient battery.

INSUFFICIENT_STORAGE

Insufficient storage.

NETWORK_DISCONNECTED

Network disconnected.

OEM_PREVENTION

Reason other than those listed.

PREVENTION_REASON_TYPE_UNSPECIFIED

This must not be used.

Public methods

static SystemUpdate.SystemUpdateState.PreventionReason.PreventionReasonType

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

static SystemUpdate.SystemUpdateState.PreventionReason.PreventionReasonType[]

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

Public methods

valueOf

public static SystemUpdate.SystemUpdateState.PreventionReason.PreventionReasonType 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.PreventionReason.PreventionReasonType

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.PreventionReason.PreventionReasonType[] 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.PreventionReason.PreventionReasonType[]

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