public enum CallEndReason
- Object
- Enum<CallEndReason>
- CallEndReason
ImplementsComparable<CallEndReason>
Why a call ended. This is what the system writes into the call log, so
the value chosen is user-visible: a call reported as
REMOTE_ENDED shows differently from one reported as UNANSWERED.
The ordinals cross the SPI boundary, so existing constants must not be reordered.
Enum constants
REMOTE_ENDED | The far end hung up. |
LOCAL_ENDED | This side hung up. |
UNANSWERED | It rang and nobody picked up. |
BUSY | The far end was busy. |
FAILED | The call could not be set up – no network, signalling failure, or a far end that never answered the invitation. |
FILTERED | The system, not the user, declined it: Do Not Disturb, or a number the user has blocked. |
Methods
public static CallEndReason[] values() | |
public static CallEndReason valueOf(String name) |
Inherited methods
Enum constant details
REMOTE_ENDED
REMOTE_ENDEDThe far end hung up.
LOCAL_ENDED
LOCAL_ENDEDThis side hung up.
UNANSWERED
UNANSWEREDIt rang and nobody picked up.
BUSY
BUSYThe far end was busy.
FAILED
FAILEDThe call could not be set up – no network, signalling failure, or a
far end that never answered the invitation.
FILTERED
FILTEREDThe system, not the user, declined it: Do Not Disturb, or a number
the user has blocked. Distinct from
UNANSWERED because the call
never rang.Method details
values
public static CallEndReason[] values()valueOf
public static CallEndReason valueOf(String name)