public enum CallState extends Enum<CallState>
Enum Constant and Description |
---|
ENDED
The call has ended normally.
|
ESTABLISHED
The call has been established.
|
FAILED
The call has ended abnormally.
|
NONE
Initial call state.
|
REJECTED
The call has ended due to rejection.
|
RESPONDED
For the call initiator, the remote side has responded to the call request.
|
STARTED
The call has started.
|
Modifier and Type | Method and Description |
---|---|
static CallState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallState NONE
public static final CallState STARTED
public static final CallState RESPONDED
public static final CallState ESTABLISHED
public static final CallState FAILED
public static final CallState REJECTED
public static final CallState ENDED
public static CallState[] values()
for (CallState c : CallState.values()) System.out.println(c);
public static CallState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null