public enum NexmoChannelType extends java.lang.Enum<NexmoChannelType>
NexmoChannel
.Enum Constant and Description |
---|
APP
App channel.
|
MESSENGER
MESSENGER channel.
|
MMS
MMS channel.
|
PHONE
Phone channel.
|
SIP
Sip channel.
|
SMS
SMS channel.
|
UNKNOWN
Unknown channel.
|
VBC
VBC channel.
|
VIBER
VIBER channel.
|
WEBSOCKET
Websocket channel.
|
WHATSAPP
WHATSAPP channel.
|
Modifier and Type | Method and Description |
---|---|
static NexmoChannelType |
fromCoreChannelType(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 SMS
public static final NexmoChannelType MMS
public static final NexmoChannelType WHATSAPP
public static final NexmoChannelType VIBER
public static final NexmoChannelType MESSENGER
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(EChannelType coreChannelType)