Enum SubscribedTrack.Kind
- java.lang.Object
-
- java.lang.Enum<SubscribedTrack.Kind>
-
- com.twilio.rest.video.v1.room.participant.SubscribedTrack.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<SubscribedTrack.Kind>
- Enclosing class:
- SubscribedTrack
public static enum SubscribedTrack.Kind extends Enum<SubscribedTrack.Kind>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscribedTrack.Kind
forValue(String value)
String
toString()
static SubscribedTrack.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubscribedTrack.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 SubscribedTrack.Kind AUDIO
-
VIDEO
public static final SubscribedTrack.Kind VIDEO
-
DATA
public static final SubscribedTrack.Kind DATA
-
-
Method Detail
-
values
public static SubscribedTrack.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 (SubscribedTrack.Kind c : SubscribedTrack.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 SubscribedTrack.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<SubscribedTrack.Kind>
-
forValue
public static SubscribedTrack.Kind forValue(String value)
-
-