public enum NexmoTypingState extends java.lang.Enum<NexmoTypingState>
NexmoTypingEvent
related to the NexmoConversation
.Enum Constant and Description |
---|
OFF
User is now typing (
NexmoConversation.stopTyping() method was called). |
ON
User is typing (
NexmoConversation.startTyping() method was called). |
UNKNOWN
Unknown state.
|
Modifier and Type | Method and Description |
---|---|
static NexmoTypingState |
fromString(java.lang.String id)
Converts string id to
NexmoTypingState . |
static NexmoTypingState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoTypingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoTypingState ON
NexmoConversation.startTyping()
method was called).public static final NexmoTypingState OFF
NexmoConversation.stopTyping()
method was called).public static final NexmoTypingState UNKNOWN
public static NexmoTypingState[] values()
for (NexmoTypingState c : NexmoTypingState.values()) System.out.println(c);
public static NexmoTypingState 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 NexmoTypingState fromString(java.lang.String id)
NexmoTypingState
.id
- The id representing the enuma name.NexmoTypingState
.