public enum NexmoMemberState extends java.lang.Enum<NexmoMemberState>
NexmoMember
state.Enum Constant and Description |
---|
INVITED
NexmoMember is invited to the @link NexmoConversation}. |
JOINED
NexmoMember has joined the NexmoConversation . |
LEFT
NexmoMember has left the @link NexmoConversation}. |
UNKNOWN
Unknown state.
|
Modifier and Type | Method and Description |
---|---|
static NexmoMemberState |
fromString(java.lang.String id)
Converts type String to
NexmoMemberState . |
static NexmoMemberState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoMemberState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoMemberState JOINED
NexmoMember
has joined the NexmoConversation
.public static final NexmoMemberState INVITED
NexmoMember
is invited to the @link NexmoConversation}.public static final NexmoMemberState LEFT
NexmoMember
has left the @link NexmoConversation}.public static final NexmoMemberState UNKNOWN
public static NexmoMemberState[] values()
for (NexmoMemberState c : NexmoMemberState.values()) System.out.println(c);
public static NexmoMemberState 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 NexmoMemberState fromString(java.lang.String id)
NexmoMemberState
.id
- String to be converted.NexmoMemberState
.