public enum CallHandleType

  1. Object
  2. Enum<CallHandleType>
  3. CallHandleType

ImplementsComparable<CallHandleType>

What kind of address a CallHandle holds. This is the portable spelling of CXHandleType; Android carries the same distinction in the scheme of the Uri it hands Telecom.

The ordinals cross the SPI boundary, so existing constants must not be reordered.

Enum constants

GENERICA username, room name or anything else that is not a phone number or an email address.
PHONE_NUMBERA telephone number.
EMAIL_ADDRESSAn email address.

Methods

public static CallHandleType[] values()
public static CallHandleType valueOf(String name)

Inherited methods

Enum constant details

GENERIC

GENERIC
A username, room name or anything else that is not a phone number or an email address. Shown verbatim.

PHONE_NUMBER

PHONE_NUMBER
A telephone number. The platform may format it for display and may match it against the address book, so prefer E.164.

EMAIL_ADDRESS

EMAIL_ADDRESS
An email address.

Method details

values

public static CallHandleType[] values()

valueOf

public static CallHandleType valueOf(String name)