public enum CallEndReason

  1. Object
  2. Enum<CallEndReason>
  3. 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_ENDEDThe far end hung up.
LOCAL_ENDEDThis side hung up.
UNANSWEREDIt rang and nobody picked up.
BUSYThe far end was busy.
FAILEDThe call could not be set up – no network, signalling failure, or a far end that never answered the invitation.
FILTEREDThe 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_ENDED
The far end hung up.

LOCAL_ENDED

LOCAL_ENDED
This side hung up.

UNANSWERED

UNANSWERED
It rang and nobody picked up.

BUSY

BUSY
The far end was busy.

FAILED

FAILED
The call could not be set up – no network, signalling failure, or a far end that never answered the invitation.

FILTERED

FILTERED
The 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)