com.telapi.api.domain.enums
Enum CallStatus
java.lang.Object
java.lang.Enum<CallStatus>
com.telapi.api.domain.enums.CallStatus
- All Implemented Interfaces:
- Serializable, Comparable<CallStatus>
public enum CallStatus
- extends Enum<CallStatus>
QUEUED
public static final CallStatus QUEUED
RINGING
public static final CallStatus RINGING
IN_PROGRESS
public static final CallStatus IN_PROGRESS
COMPLETED
public static final CallStatus COMPLETED
FAILED
public static final CallStatus FAILED
BUSY
public static final CallStatus BUSY
NO_ANSWER
public static final CallStatus NO_ANSWER
UNKNOWN
public static final CallStatus UNKNOWN
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(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
forValue
public static CallStatus forValue(String s)
toString
public String toString()
- Overrides:
toString in class Enum<CallStatus>
Copyright © 2012. All Rights Reserved.