Package com.vonage.client.conversations
Enum Class EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>,java.lang.constant.Constable
Represents the possible types of events in
Event.getType().-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAutomatic speech recognition has finished.Automatic speech recognition of recording has finished.Play DTMF audio.Unearmuff audio, i.e. the receiver will be able to hear it.Earmuff audio, i.e. the receiver won't be able to hear it.Unmute audio, i.e. the producer will be able to be heard by others.Mute audio, i.e. the producer won't be able to be heard by others.Play audio.Playing audio has finished.Stop the audio currently playing.Record the audio.Audio recording has finished.Stop current recording of audio.Use text-to-speech to say the given text.Playing text-to-speech has finished.Stop the currently playing text-to-speech.Disable speaking.Enable speaking.Conversation details have been updated.Custom event.Ephemeral (temporary) event.Event has been deleted.Update on the status of a conversation leg.Member has been invited to the conversation.Member has joined the conversation.Member has left the conversation.Member has media.Status update on a member message.Message event.Message has been delivered.Message rejected.Message has been seen.Message submitted.Message could not be delivered.RTC call answer.RTC call has been answered.RTC call has hung up.RTC call is ringing.RTC status.RTC call transfer.SIP call encountered machine using Advanced Machine Detection.SIP call has been answered.SIP call has been hung up.SIP call encountered machine.SIP call is ringing.Status of SIP.Event type is not defined in this enum. -
Method Summary
-
Enum Constant Details
-
UNKNOWN
Event type is not defined in this enum. -
EPHEMERAL
Ephemeral (temporary) event. -
CUSTOM
Custom event. -
MESSAGE
Message event. SeeMessageTypefor the specifics. Applicable events are: Text, Image, Audio, Video, File, Template, Custom, VCard, Location, Random. -
MESSAGE_SUBMITTED
Message submitted. -
MESSAGE_REJECTED
Message rejected. -
MESSAGE_UNDELIVERABLE
Message could not be delivered. -
MESSAGE_SEEN
Message has been seen. -
MESSAGE_DELIVERED
Message has been delivered. -
AUDIO_PLAY
Play audio. -
AUDIO_PLAY_STOP
Stop the audio currently playing. -
AUDIO_SAY
Use text-to-speech to say the given text. -
AUDIO_SAY_STOP
Stop the currently playing text-to-speech. -
AUDIO_DTMF
Play DTMF audio. -
AUDIO_RECORD
Record the audio. -
AUDIO_RECORD_STOP
Stop current recording of audio. -
AUDIO_MUTE_ON
Mute audio, i.e. the producer won't be able to be heard by others. -
AUDIO_MUTE_OFF
Unmute audio, i.e. the producer will be able to be heard by others. -
AUDIO_EARMUFF_ON
Earmuff audio, i.e. the receiver won't be able to hear it. -
AUDIO_EARMUFF_OFF
Unearmuff audio, i.e. the receiver will be able to hear it. -
EVENT_DELETE
Event has been deleted. -
LEG_STATUS_UPDATE
Update on the status of a conversation leg. -
CONVERSATION_UPDATED
Conversation details have been updated. -
AUDIO_SAY_DONE
Playing text-to-speech has finished. -
AUDIO_PLAY_DONE
Playing audio has finished. -
AUDIO_RECORD_DONE
Audio recording has finished. -
AUDIO_SPEAKING_ON
Enable speaking. -
AUDIO_SPEAKING_OFF
Disable speaking. -
AUDIO_ASR_DONE
Automatic speech recognition has finished. -
AUDIO_ASR_RECORD_DONE
Automatic speech recognition of recording has finished. -
MEMBER_MESSAGE_STATUS
Status update on a member message. -
MEMBER_INVITED
Member has been invited to the conversation. -
MEMBER_JOINED
Member has joined the conversation. -
MEMBER_LEFT
Member has left the conversation. -
MEMBER_MEDIA
Member has media. -
SIP_STATUS
Status of SIP. -
SIP_HANGUP
SIP call has been hung up. -
SIP_ANSWERED
SIP call has been answered. -
SIP_MACHINE
SIP call encountered machine. -
SIP_AMD_MACHINE
SIP call encountered machine using Advanced Machine Detection. -
SIP_RINGING
SIP call is ringing. -
RTC_STATUS
RTC status. -
RTC_TRANSFER
RTC call transfer. -
RTC_HANGUP
RTC call has hung up. -
RTC_ANSWERED
RTC call has been answered. -
RTC_RINGING
RTC call is ringing. -
RTC_ANSWER
RTC call answer.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
-
toString
-