public enum CallAudioRoute

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

ImplementsComparable<CallAudioRoute>

Where a call’s audio is going. The ordinals cross the SPI boundary, so existing constants must not be reordered.

Enum constants

EARPIECEThe earpiece held to the ear.
SPEAKERThe loudspeaker.
WIRED_HEADSETA wired headset.
BLUETOOTHA Bluetooth headset or car kit.
UNKNOWNThe platform has not said, or the route is one this API has no name for.

Methods

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

Inherited methods

Enum constant details

EARPIECE

EARPIECE
The earpiece held to the ear.

SPEAKER

SPEAKER
The loudspeaker.

WIRED_HEADSET

WIRED_HEADSET
A wired headset.

BLUETOOTH

BLUETOOTH
A Bluetooth headset or car kit.

UNKNOWN

UNKNOWN
The platform has not said, or the route is one this API has no name for.

Method details

values

public static CallAudioRoute[] values()

valueOf

public static CallAudioRoute valueOf(String name)