# AudioRoutingConfig

data class AudioRoutingConfig(val useSpeakerphoneState: AudioController.UseSpeakerphone, val isBluetoothAudioManaged: Boolean)

Automatic routing configuration data.

#### Parameters

useSpeakerphoneState

controls if speakerphone can be used by AAR. If set to UseSpeakerphone .SPEAKERPHONE_AUTO AAR uses proximity sensor to operate.

isBluetoothAudioManaged

if set to true, allows to automatically reroute audio to Bluetooth headset when available.

#### See also

AudioController.enableAutomaticAudioRouting

## Constructors

AudioRoutingConfig
Link copied to clipboard
constructor(useSpeakerphoneState: AudioController.UseSpeakerphone, isBluetoothAudioManaged: Boolean)

## Properties

isBluetoothAudioManaged
Link copied to clipboard
val isBluetoothAudioManaged: Boolean
useSpeakerphoneState
Link copied to clipboard
val useSpeakerphoneState: AudioController.UseSpeakerphone