Device.Ownership

public enum Device.Ownership


Ownership of the managed device.

Summary

Enum Values

COMPANY_OWNED

Device is company-owned.

OWNERSHIP_UNSPECIFIED

Ownership is unspecified.

PERSONALLY_OWNED

Device is personally-owned.

Public methods

static Device.Ownership

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

static Device.Ownership[]

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

Enum Values

COMPANY_OWNED

Device.Ownership Device.Ownership.COMPANY_OWNED

Device is company-owned.

OWNERSHIP_UNSPECIFIED

Device.Ownership Device.Ownership.OWNERSHIP_UNSPECIFIED

Ownership is unspecified.

PERSONALLY_OWNED

Device.Ownership Device.Ownership.PERSONALLY_OWNED

Device is personally-owned.

Public methods

valueOf

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

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.Ownership[] 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.Ownership[]

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