public static enum Activity.Flag extends Enum<Activity.Flag>
Enum Constant and Description |
---|
INSTANCE |
JOIN |
JOIN_REQUEST |
PLAY |
SPECTATE |
SYNC |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Activity.Flag |
of(int value) |
static Activity.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Activity.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Activity.Flag INSTANCE
public static final Activity.Flag JOIN
public static final Activity.Flag SPECTATE
public static final Activity.Flag JOIN_REQUEST
public static final Activity.Flag SYNC
public static final Activity.Flag PLAY
public static Activity.Flag[] values()
for (Activity.Flag c : Activity.Flag.values()) System.out.println(c);
public static Activity.Flag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static Activity.Flag of(int value)