Package com.oracle.bmc.aispeech.model
Enum RealtimeMessage.Event
- java.lang.Object
-
- java.lang.Enum<RealtimeMessage.Event>
-
- com.oracle.bmc.aispeech.model.RealtimeMessage.Event
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<RealtimeMessage.Event>
- Enclosing class:
- RealtimeMessage
public static enum RealtimeMessage.Event extends Enum<RealtimeMessage.Event> implements BmcEnum
Incoming Types of message event sent from Service -> Client - RESULT - result - ACKAUDIO - ackAudio - ERROR - error - CONNECT - connect Outgoing Types of message event sent from Client -> Service - SEND_FINAL_RESULT - sendFinalResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RealtimeMessage.Event
create(String key)
String
getValue()
static RealtimeMessage.Event
valueOf(String name)
Returns the enum constant of this type with the specified name.static RealtimeMessage.Event[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Result
public static final RealtimeMessage.Event Result
-
Ackaudio
public static final RealtimeMessage.Event Ackaudio
-
Error
public static final RealtimeMessage.Event Error
-
Connect
public static final RealtimeMessage.Event Connect
-
-
Method Detail
-
values
public static RealtimeMessage.Event[] 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 (RealtimeMessage.Event c : RealtimeMessage.Event.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealtimeMessage.Event 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
-
create
public static RealtimeMessage.Event create(String key)
-
-