Enum Transcription.Track
- java.lang.Object
-
- java.lang.Enum<Transcription.Track>
-
- com.twilio.rest.api.v2010.account.call.Transcription.Track
-
- All Implemented Interfaces:
Serializable
,Comparable<Transcription.Track>
- Enclosing class:
- Transcription
public static enum Transcription.Track extends Enum<Transcription.Track>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH_TRACKS
INBOUND_TRACK
OUTBOUND_TRACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transcription.Track
forValue(String value)
String
toString()
static Transcription.Track
valueOf(String name)
Returns the enum constant of this type with the specified name.static Transcription.Track[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INBOUND_TRACK
public static final Transcription.Track INBOUND_TRACK
-
OUTBOUND_TRACK
public static final Transcription.Track OUTBOUND_TRACK
-
BOTH_TRACKS
public static final Transcription.Track BOTH_TRACKS
-
-
Method Detail
-
values
public static Transcription.Track[] 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 (Transcription.Track c : Transcription.Track.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Transcription.Track 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<Transcription.Track>
-
forValue
public static Transcription.Track forValue(String value)
-
-