Enum PublishedTrack.Kind
- java.lang.Object
-
- java.lang.Enum<PublishedTrack.Kind>
-
- com.twilio.rest.video.v1.room.participant.PublishedTrack.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<PublishedTrack.Kind>
- Enclosing class:
- PublishedTrack
public static enum PublishedTrack.Kind extends Enum<PublishedTrack.Kind>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublishedTrack.Kind
forValue(String value)
Generate a Kind from a string.String
toString()
static PublishedTrack.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static PublishedTrack.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDIO
public static final PublishedTrack.Kind AUDIO
-
VIDEO
public static final PublishedTrack.Kind VIDEO
-
DATA
public static final PublishedTrack.Kind DATA
-
-
Method Detail
-
values
public static PublishedTrack.Kind[] 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 (PublishedTrack.Kind c : PublishedTrack.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PublishedTrack.Kind 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:
toString
in classEnum<PublishedTrack.Kind>
-
forValue
public static PublishedTrack.Kind forValue(String value)
Generate a Kind from a string.- Parameters:
value
- string value- Returns:
- generated Kind
-
-