AudioRoute

The type of the audio route.

Enumerator

ROUTE_DEFAULT
-1: The default audio route.
ROUTE_HEADSET
0: Audio output routing is a headset with microphone.
ROUTE_EARPIECE
1: The audio route is an earpiece.
ROUTE_HEADSETNOMIC
2: The audio route is a headset without a microphone.
ROUTE_SPEAKERPHONE
3: The audio route is the speaker that comes with the device.
ROUTE_BLUETOOTH_DEVICE_HFP
5: The audio route is a Bluetooth device using the HFP protocol.
ROUTE_BLUETOOTH_DEVICE_A2DP
10: The audio route is a Bluetooth device using the A2DP protocol.