public enum NexmoEventType extends java.lang.Enum<NexmoEventType>
Enum representing event type.
| Enum Constant and Description |
|---|
ATTACHMENT
Attachment event
NexmoAttachmentEvent. |
CUSTOM
Custom status event
NexmoCustomEvent. |
DTMF
DTMF status event
NexmoCustomEvent. |
EVENT_DELETED
Delete event
NexmoDeletedEvent. |
EVENT_DELIVERED
Delivered event
NexmoDeliveredEvent. |
EVENT_REJECTED
Rejected event
NexmoRejectedEvent. |
EVENT_SEEN
Seen event
NexmoSeenEvent. |
EVENT_SUBMITTED
Submitted event
NexmoSubmittedEvent. |
EVENT_UNDELIVERABLE
Undeliverable event
NexmoUndeliverableEvent. |
LEG_STATUS
Leg status event
NexmoLegStatusEvent. |
MEDIA
Media event
NexmoMediaEvent. |
MEDIA_ACTION
Media event
NexmoMediaActionEvent. |
MEMBER
Member event
NexmoMemberEvent. |
MEMBER_MESSAGE_STATUS
Member message status event
NexmoMemberMessageStatusEvent. |
MESSAGE
Message event
NexmoMessageEvent. |
TEXT
Text event
NexmoTextEvent. |
TYPING
Typing event
NexmoTypingEvent. |
UNKNOWN
Unknown type.
|
| Modifier and Type | Method and Description |
|---|---|
static NexmoEventType |
fromString(java.lang.String id) |
static NexmoEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoEventType UNKNOWN
public static final NexmoEventType TEXT
NexmoTextEvent.public static final NexmoEventType MESSAGE
NexmoMessageEvent.public static final NexmoEventType ATTACHMENT
NexmoAttachmentEvent.public static final NexmoEventType EVENT_DELETED
NexmoDeletedEvent.public static final NexmoEventType EVENT_SEEN
NexmoSeenEvent.public static final NexmoEventType EVENT_DELIVERED
NexmoDeliveredEvent.public static final NexmoEventType EVENT_SUBMITTED
NexmoSubmittedEvent.public static final NexmoEventType EVENT_REJECTED
NexmoRejectedEvent.public static final NexmoEventType EVENT_UNDELIVERABLE
NexmoUndeliverableEvent.public static final NexmoEventType TYPING
NexmoTypingEvent.public static final NexmoEventType MEMBER
NexmoMemberEvent.public static final NexmoEventType MEDIA
NexmoMediaEvent.public static final NexmoEventType MEDIA_ACTION
NexmoMediaActionEvent.public static final NexmoEventType LEG_STATUS
NexmoLegStatusEvent.public static final NexmoEventType MEMBER_MESSAGE_STATUS
NexmoMemberMessageStatusEvent.public static final NexmoEventType CUSTOM
NexmoCustomEvent.public static final NexmoEventType DTMF
NexmoCustomEvent.public static NexmoEventType[] values()
for (NexmoEventType c : NexmoEventType.values()) System.out.println(c);
public static NexmoEventType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static NexmoEventType fromString(java.lang.String id)