Device.ManagementMode

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

static Device.ManagementMode

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

static Device.ManagementMode[]

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

Enum Values

MANAGEMENT_MODE_UNSPECIFIED

Device.ManagementMode Device.ManagementMode.MANAGEMENT_MODE_UNSPECIFIED

Management mode is unspecified.

Public methods

valueOf

public static Device.ManagementMode 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
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

public static Device.ManagementMode[] 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
Device.ManagementMode[]

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