public enum ActivityDomain extends java.lang.Enum<ActivityDomain>
| Enum Constant and Description |
|---|
PERSONAL
personal
|
UNEXPECTED_VALUE
For ActivityDomain values that were not expected from the service
|
UNKNOWN
unknown
|
UNRESTRICTED
unrestricted
|
WORK
work
|
| Modifier and Type | Method and Description |
|---|---|
static ActivityDomain |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivityDomain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityDomain UNKNOWN
public static final ActivityDomain WORK
public static final ActivityDomain PERSONAL
public static final ActivityDomain UNRESTRICTED
public static final ActivityDomain UNEXPECTED_VALUE
public static ActivityDomain[] values()
for (ActivityDomain c : ActivityDomain.values()) System.out.println(c);
public static ActivityDomain 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