AudioRoute

Type of audio route.

Enumerations

ROUTE_DEFAULT
-1: Use the default audio route.
ROUTE_HEADSET
0: Audio routed to headset with microphone.
ROUTE_EARPIECE
1: Audio routed to earpiece.
ROUTE_HEADSETNOMIC
2: Audio routed to headset without microphone.
ROUTE_SPEAKERPHONE
3: Audio routed to the device's built-in speaker.
ROUTE_LOUDSPEAKER
4: Audio routed to external speaker. (iOS and macOS only)
ROUTE_BLUETOOTH_DEVICE_HFP
5: Audio routed to Bluetooth device using HFP protocol.
ROUTE_USB
6: Audio routed to USB peripheral device. (macOS only)
ROUTE_HDMI
7: Audio routed to HDMI peripheral device. (macOS only)
ROUTE_DISPLAYPORT
8: Audio routed to DisplayPort peripheral device. (macOS only)
ROUTE_AIRPLAY
9: Audio routed to Apple AirPlay. (macOS only)
ROUTE_BLUETOOTH_DEVICE_A2DP
10: Audio routed to Bluetooth device using A2DP protocol.