public enum NexmoChannelType extends java.lang.Enum<NexmoChannelType>
NexmoMember
.Enum Constant and Description |
---|
APP |
PHONE |
SIP |
UNKNOWN |
VBC |
WEBSOCKET |
Modifier and Type | Method and Description |
---|---|
static NexmoChannelType |
fromCoreChannelType(com.nexmo.clientcore.model.enums.EChannelType coreChannelType) |
static NexmoChannelType |
fromString(java.lang.String id) |
static NexmoChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoChannelType APP
public static final NexmoChannelType PHONE
public static final NexmoChannelType SIP
public static final NexmoChannelType WEBSOCKET
public static final NexmoChannelType VBC
public static final NexmoChannelType UNKNOWN
public static NexmoChannelType[] values()
for (NexmoChannelType c : NexmoChannelType.values()) System.out.println(c);
public static NexmoChannelType 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 NexmoChannelType fromString(java.lang.String id)
public static NexmoChannelType fromCoreChannelType(com.nexmo.clientcore.model.enums.EChannelType coreChannelType)