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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RealtimeMessage.Eventcreate(String key)StringgetValue()static RealtimeMessage.EventvalueOf(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- 
Resultpublic static final RealtimeMessage.Event Result 
 - 
Ackaudiopublic static final RealtimeMessage.Event Ackaudio 
 - 
Errorpublic static final RealtimeMessage.Event Error 
 - 
Connectpublic static final RealtimeMessage.Event Connect 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static RealtimeMessage.Event create(String key) 
 
- 
 
-