public static enum Call.Status extends java.lang.Enum<Call.Status>
Enum Constant and Description |
---|
Aborted
The call was aborted (caller hanged up)
|
AcceptedElsewhere
The call was answered on another device.
|
Declined
The call was declined, either locally or by remote end.
|
DeclinedElsewhere
The call was declined on another device.
|
EarlyAborted
The call was aborted before being advertised to the application - for protocol
reasons. |
Missed
The call was missed (incoming call timed out without being answered or hanged
up) |
Success
The call was sucessful.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static Call.Status |
fromInt(int value) |
int |
toInt() |
static Call.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Call.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.Status Success
public static final Call.Status Aborted
public static final Call.Status Missed
public static final Call.Status Declined
public static final Call.Status EarlyAborted
public static final Call.Status AcceptedElsewhere
public static final Call.Status DeclinedElsewhere
public static Call.Status[] values()
for (Call.Status c : Call.Status.values()) System.out.println(c);
public static Call.Status 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 Call.Status fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()