public final class CallState extends Enum
Modifier and Type | Field and Description |
---|---|
static CallState |
ENDED
The call has ended normally.
|
static CallState |
ESTABLISHED
The call has been established.
|
static CallState |
FAILED
The call has encountered an exception and has been closed abnormally.
|
static CallState |
NONE
Initial call state.
|
static CallState |
REJECTED
The call has ended due to rejection.
|
static CallState |
RESPONDED
For the call initiator, this state means the call request has been responded to by
remote side; for the call receiver,
this state means the receiver has responded to the incoming request.
|
static CallState |
STARTED
The call has started.
|
Modifier and Type | Method and Description |
---|---|
static CallState |
getCallState(String value)
Gets State by the call state string.
|
String |
getValue()
Gets the value.
|
String |
toString() |
static CallState |
valueOf(String name) |
static CallState[] |
values() |
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()
public String getValue()
public static CallState getCallState(String value)
value
- the call state string