public static enum PlayerStreamer.Status extends Enum<PlayerStreamer.Status>
Modifier and Type | Method and Description |
---|---|
static PlayerStreamer.Status |
forValue(String value)
Generate a Status from a string.
|
String |
toString() |
static PlayerStreamer.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerStreamer.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerStreamer.Status CREATED
public static final PlayerStreamer.Status STARTED
public static final PlayerStreamer.Status ENDED
public static final PlayerStreamer.Status FAILED
public static PlayerStreamer.Status[] values()
for (PlayerStreamer.Status c : PlayerStreamer.Status.values()) System.out.println(c);
public static PlayerStreamer.Status 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 String toString()
toString
in class Enum<PlayerStreamer.Status>
public static PlayerStreamer.Status forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.