Enum MessageType.Value
- java.lang.Object
-
- java.lang.Enum<MessageType.Value>
-
- com.assemblyai.api.resources.realtime.types.MessageType.Value
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MessageType.Value>
- Enclosing class:
- MessageType
public static enum MessageType.Value extends java.lang.Enum<MessageType.Value>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINAL_TRANSCRIPTPARTIAL_TRANSCRIPTSESSION_BEGINSSESSION_TERMINATEDUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageType.ValuevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MessageType.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SESSION_BEGINS
public static final MessageType.Value SESSION_BEGINS
-
PARTIAL_TRANSCRIPT
public static final MessageType.Value PARTIAL_TRANSCRIPT
-
FINAL_TRANSCRIPT
public static final MessageType.Value FINAL_TRANSCRIPT
-
SESSION_TERMINATED
public static final MessageType.Value SESSION_TERMINATED
-
UNKNOWN
public static final MessageType.Value UNKNOWN
-
-
Method Detail
-
values
public static MessageType.Value[] 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 (MessageType.Value c : MessageType.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageType.Value valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-