public enum NexmoEventType extends java.lang.Enum<NexmoEventType>
Enum Constant and Description |
---|
ATTACHMENT |
EVENT_DELETED |
EVENT_DELIVERED |
EVENT_SEEN |
MEDIA |
MEDIA_ACTION |
MEMBER |
TEXT |
TYPING |
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 TEXT
public static final NexmoEventType ATTACHMENT
public static final NexmoEventType EVENT_DELETED
public static final NexmoEventType EVENT_SEEN
public static final NexmoEventType EVENT_DELIVERED
public static final NexmoEventType TYPING
public static final NexmoEventType MEMBER
public static final NexmoEventType MEDIA
public static final NexmoEventType MEDIA_ACTION
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)