AudioRoute

The type of the audio route.

Enumerator

RouteDefault
-1: The default audio route.
RouteHeadset
0: Audio output routing is a headset with microphone.
RouteEarpiece
1: The audio route is an earpiece.
RouteHeadsetNoMic
2: The audio route is a headset without a microphone.
RouteSpeakerphone
3: The audio route is the speaker that comes with the device.
RouteLoudspeaker
4: The audio route is an external speaker. (iOS only)
RouteBluetoothDeviceHFP
5: The audio route is a Bluetooth device using the HFP protocol.
RouteBluetoothDeviceA2DP
10: The audio route is a Bluetooth device using the A2DP protocol.