public enum CastStrategy extends Enum<CastStrategy>
Enum Constant and Description |
---|
AUTO
The player will automatically join a cast session at startup if one exists when play is called.
|
DISABLED
The player is not affected by cast sessions and is not castable.
|
MANUAL
The player will take over an existing session if there is one and the cast button is clicked.
|
Modifier and Type | Method and Description |
---|---|
static CastStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CastStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CastStrategy MANUAL
public static final CastStrategy DISABLED
public static final CastStrategy AUTO
public static CastStrategy[] values()
for (CastStrategy c : CastStrategy.values()) System.out.println(c);
public static CastStrategy 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 null