DeviceSettings.EncryptionStatus

public enum DeviceSettings.EncryptionStatus


Encryption status of a device.

Summary

Enum Values

ACTIVATING

Encryption is not currently active, but is currently being activated.

ACTIVE

Encryption is active.

ACTIVE_DEFAULT_KEY

Encryption is active, but an encryption key is not set by the user.

ACTIVE_PER_USER

Encryption is active, and the encryption key is tied to the user profile.

ENCRYPTION_STATUS_UNSPECIFIED

Unspecified.

INACTIVE

Encryption is supported by the device, but is not currently active.

UNSUPPORTED

Encryption is not supported by the device.

Public methods

static DeviceSettings.EncryptionStatus

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

static DeviceSettings.EncryptionStatus[]

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

Enum Values

ACTIVATING

DeviceSettings.EncryptionStatus DeviceSettings.EncryptionStatus.ACTIVATING

Encryption is not currently active, but is currently being activated.

ACTIVE_DEFAULT_KEY

DeviceSettings.EncryptionStatus DeviceSettings.EncryptionStatus.ACTIVE_DEFAULT_KEY

Encryption is active, but an encryption key is not set by the user.

ACTIVE_PER_USER

DeviceSettings.EncryptionStatus DeviceSettings.EncryptionStatus.ACTIVE_PER_USER

Encryption is active, and the encryption key is tied to the user profile.

ENCRYPTION_STATUS_UNSPECIFIED

DeviceSettings.EncryptionStatus DeviceSettings.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED

Unspecified. No device should have this type.

INACTIVE

DeviceSettings.EncryptionStatus DeviceSettings.EncryptionStatus.INACTIVE

Encryption is supported by the device, but is not currently active.

UNSUPPORTED

DeviceSettings.EncryptionStatus DeviceSettings.EncryptionStatus.UNSUPPORTED

Encryption is not supported by the device.

Public methods

valueOf

public static DeviceSettings.EncryptionStatus 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
DeviceSettings.EncryptionStatus

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 DeviceSettings.EncryptionStatus[] 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
DeviceSettings.EncryptionStatus[]

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