Device.ManagementMode

enum Device.ManagementMode


The type of management mode on the device.

Summary

Enum Values

DEVICE_OWNER

Fully managed.

MANAGEMENT_MODE_UNSPECIFIED

Management mode is unspecified.

PROFILE_OWNER

Work profile.

UNMANAGED

Unmanaged.

Public functions

java-static Device.ManagementMode!
valueOf(name: String!)

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

java-static Array<Device.ManagementMode!>!

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

Enum Values

DEVICE_OWNER

val Device.ManagementMode.DEVICE_OWNERDevice.ManagementMode

Fully managed.

MANAGEMENT_MODE_UNSPECIFIED

val Device.ManagementMode.MANAGEMENT_MODE_UNSPECIFIEDDevice.ManagementMode

Management mode is unspecified.

PROFILE_OWNER

val Device.ManagementMode.PROFILE_OWNERDevice.ManagementMode

Work profile.

Public functions

valueOf

java-static fun valueOf(name: String!): Device.ManagementMode!

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
Device.ManagementMode!

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<Device.ManagementMode!>!

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<Device.ManagementMode!>!

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