Package com.twilio.rest.media.v1
Enum PlayerStreamer.Status
- java.lang.Object
-
- java.lang.Enum<PlayerStreamer.Status>
-
- com.twilio.rest.media.v1.PlayerStreamer.Status
-
- All Implemented Interfaces:
Serializable,Comparable<PlayerStreamer.Status>
- Enclosing class:
- PlayerStreamer
public static enum PlayerStreamer.Status extends Enum<PlayerStreamer.Status>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlayerStreamer.StatusforValue(String value)StringtoString()static PlayerStreamer.StatusvalueOf(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.
-
-
-
Enum Constant Detail
-
CREATED
public static final PlayerStreamer.Status CREATED
-
STARTED
public static final PlayerStreamer.Status STARTED
-
ENDED
public static final PlayerStreamer.Status ENDED
-
FAILED
public static final PlayerStreamer.Status FAILED
-
-
Method Detail
-
values
public static PlayerStreamer.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PlayerStreamer.Status c : PlayerStreamer.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlayerStreamer.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<PlayerStreamer.Status>
-
forValue
public static PlayerStreamer.Status forValue(String value)
-
-