AudioRoute

Type of audio route.

Enumerations

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