Make a call uing NexmoClient
:
client.call("123456", NexmoCallHandler.SERVER, callListener);
@Deprecated public enum NexmoCallHandler extends java.lang.Enum<NexmoCallHandler>
Enum Constant and Description |
---|
IN_APP
Deprecated.
Represents direct IP to IP calls.
|
SERVER
Deprecated.
Represents IP to PSTN, where NCCO
controls the flow of a call.
|
UNKNOWN
Deprecated.
Unknown handler.
|
Modifier and Type | Method and Description |
---|---|
static NexmoCallHandler |
fromString(java.lang.String id)
Deprecated.
|
static NexmoCallHandler |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static NexmoCallHandler[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoCallHandler IN_APP
public static final NexmoCallHandler SERVER
public static final NexmoCallHandler UNKNOWN
public static NexmoCallHandler[] values()
for (NexmoCallHandler c : NexmoCallHandler.values()) System.out.println(c);
public static NexmoCallHandler 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 NexmoCallHandler fromString(java.lang.String id)