public static enum NexmoDirection.Type extends java.lang.Enum<NexmoDirection.Type>
NexmoDirection
see also NexmoChannelType
Enum Constant and Description |
---|
APP
Application.
|
MESSENGER
Messenger.
|
MMS
Mms.
|
PHONE
Phone.
|
SIP
SIP.
|
SMS
Sms.
|
UNKNOWN
Unknown.
|
VBC
Vonage Business Communications.
|
VIBER
Viber.
|
WEBSOCKET
Websocket.
|
WHATSAPP
WhatsApp.
|
Modifier and Type | Method and Description |
---|---|
static NexmoDirection.Type |
fromChannelType(NexmoChannelType channelType)
Converts
NexmoChannelType to NexmoDirection.Type |
static NexmoDirection.Type |
fromString(java.lang.String id) |
static NexmoDirection.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoDirection.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoDirection.Type APP
public static final NexmoDirection.Type PHONE
public static final NexmoDirection.Type SIP
public static final NexmoDirection.Type WEBSOCKET
public static final NexmoDirection.Type VBC
public static final NexmoDirection.Type SMS
public static final NexmoDirection.Type MMS
public static final NexmoDirection.Type WHATSAPP
public static final NexmoDirection.Type VIBER
public static final NexmoDirection.Type MESSENGER
public static final NexmoDirection.Type UNKNOWN
public static NexmoDirection.Type[] values()
for (NexmoDirection.Type c : NexmoDirection.Type.values()) System.out.println(c);
public static NexmoDirection.Type 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 NexmoDirection.Type fromString(java.lang.String id)
public static NexmoDirection.Type fromChannelType(NexmoChannelType channelType)
NexmoChannelType
to NexmoDirection.Type
channelType
- object to be converted.