public enum AndroidWorkProfileCrossProfileDataSharingType extends java.lang.Enum<AndroidWorkProfileCrossProfileDataSharingType>
| Enum Constant and Description |
|---|
ALLOW_PERSONAL_TO_WORK
allow Personal To Work
|
DEVICE_DEFAULT
device Default
|
NO_RESTRICTIONS
no Restrictions
|
PREVENT_ANY
prevent Any
|
UNEXPECTED_VALUE
For AndroidWorkProfileCrossProfileDataSharingType values that were not expected from the service
|
| Modifier and Type | Method and Description |
|---|---|
static AndroidWorkProfileCrossProfileDataSharingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AndroidWorkProfileCrossProfileDataSharingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AndroidWorkProfileCrossProfileDataSharingType DEVICE_DEFAULT
public static final AndroidWorkProfileCrossProfileDataSharingType PREVENT_ANY
public static final AndroidWorkProfileCrossProfileDataSharingType ALLOW_PERSONAL_TO_WORK
public static final AndroidWorkProfileCrossProfileDataSharingType NO_RESTRICTIONS
public static final AndroidWorkProfileCrossProfileDataSharingType UNEXPECTED_VALUE
public static AndroidWorkProfileCrossProfileDataSharingType[] values()
for (AndroidWorkProfileCrossProfileDataSharingType c : AndroidWorkProfileCrossProfileDataSharingType.values()) System.out.println(c);
public static AndroidWorkProfileCrossProfileDataSharingType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null