public enum CallEndCause extends java.lang.Enum<CallEndCause>
| Enum Constant and Description |
|---|
CANCELED |
DENIED |
FAILURE |
HUNG_UP |
NO_ANSWER |
NONE |
OTHER_DEVICE_ANSWERED |
TIMEOUT |
TRANSFERRED |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static CallEndCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CallEndCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallEndCause NONE
public static final CallEndCause TIMEOUT
public static final CallEndCause DENIED
public static final CallEndCause NO_ANSWER
public static final CallEndCause FAILURE
public static final CallEndCause HUNG_UP
public static final CallEndCause CANCELED
public static final CallEndCause OTHER_DEVICE_ANSWERED
public static final CallEndCause TRANSFERRED
public static CallEndCause[] values()
for (CallEndCause c : CallEndCause.values()) System.out.println(c);
public static CallEndCause 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 int getValue()
Copyright 2016, Sinch AB