Package com.nexmo.client.incoming
Enum CallStatus
- java.lang.Object
-
- java.lang.Enum<CallStatus>
-
- com.nexmo.client.incoming.CallStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CallStatus>
public enum CallStatus extends java.lang.Enum<CallStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallStatus
fromString(java.lang.String status)
static CallStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CallStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTED
public static final CallStatus STARTED
-
RINGING
public static final CallStatus RINGING
-
ANSWERED
public static final CallStatus ANSWERED
-
COMPLETED
public static final CallStatus COMPLETED
-
MACHINE
public static final CallStatus MACHINE
-
HUMAN
public static final CallStatus HUMAN
-
INPUT
public static final CallStatus INPUT
-
BUSY
public static final CallStatus BUSY
-
CANCELLED
public static final CallStatus CANCELLED
-
FAILED
public static final CallStatus FAILED
-
RECORDING
public static final CallStatus RECORDING
-
REJECTED
public static final CallStatus REJECTED
-
TIMEOUT
public static final CallStatus TIMEOUT
-
UNANSWERED
public static final CallStatus UNANSWERED
-
UNKNOWN
public static final CallStatus UNKNOWN
-
-
Method Detail
-
values
public static CallStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CallStatus c : CallStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static CallStatus fromString(java.lang.String status)
-
-