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_LOUDSPEAKER
 - 4: The audio route is an external speaker. (iOS and macOS only)
 - ROUTE_BLUETOOTH_DEVICE_HFP
 - 5: The audio route is a Bluetooth device using the HFP protocol.
 - ROUTE_USB
 - 6: The audio route is a USB peripheral device. (For macOS only)
 - ROUTE_HDMI
 - 7: The audio route is an HDMI peripheral device. (For macOS only)
 - ROUTE_DISPLAYPORT
 - 8: The audio route is a DisplayPort peripheral device. (For macOS only)
 - ROUTE_AIRPLAY
 - 9: The audio route is Apple AirPlay. (For macOS only)
 - ROUTE_BLUETOOTH_DEVICE_A2DP
 - 10: The audio route is a Bluetooth device using the A2DP protocol.