public static enum NexmoDirection.Type extends java.lang.Enum<NexmoDirection.Type>
Enum Constant and Description |
---|
APP |
PHONE |
SIP |
UNKNOWN |
VBC |
WEBSOCKET |
Modifier and Type | Method and Description |
---|---|
static NexmoDirection.Type |
fromChannelType(NexmoChannelType channelType) |
static NexmoDirection.Type |
fromCoreChannelType(com.nexmo.clientcore.model.enums.EChannelType coreChannelType) |
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 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 fromCoreChannelType(com.nexmo.clientcore.model.enums.EChannelType coreChannelType)
public static NexmoDirection.Type fromChannelType(NexmoChannelType channelType)