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

Constructors

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