AudioRoute
Audio routing type.
Enumerations
- ROUTE_DEFAULT
- (-1): Default route.
- ROUTE_HEADSET
- (0): Route to headset with microphone.
- ROUTE_EARPIECE
- (1): Route to earpiece.
- ROUTE_HEADSETNOMIC
- (2): Route to headset without microphone.
- ROUTE_SPEAKERPHONE
- (3): Route to built-in speaker.
- ROUTE_LOUDSPEAKER
- (4): Route to external speaker. (Only available on iOS and macOS platforms)
- ROUTE_BLUETOOTH_DEVICE_HFP
- (5): Route to Bluetooth device using HFP protocol.
- ROUTE_USB
- (6): Route to USB peripheral device. (Only available on macOS platform)
- ROUTE_HDMI
- (7): Route to HDMI peripheral device. (Only available on macOS platform)
- ROUTE_DISPLAYPORT
- (8): Route to DisplayPort peripheral device. (Only available on macOS platform)
- ROUTE_AIRPLAY
- (9): Route to Apple AirPlay. (Only available on macOS platform)
- ROUTE_BLUETOOTH_DEVICE_A2DP
- (10): Route to Bluetooth device using A2DP protocol.