Package com.sinch.android.rtc
Class AudioController.AudioRoutingConfig
- java.lang.Object
-
- com.sinch.android.rtc.AudioController.AudioRoutingConfig
-
- Enclosing interface:
- AudioController
public static class AudioController.AudioRoutingConfig extends java.lang.Object
Automatic routing configuration data.
-
-
Constructor Summary
Constructors Constructor Description AudioRoutingConfig(AudioController.UseSpeakerphone useSpeakerphoneState, boolean manageBluetoothAudio)
Creates automatic routing configuration object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioController.UseSpeakerphone
getUseSpeakerphoneState()
boolean
isBluetoothAudioManaged()
-
-
-
Constructor Detail
-
AudioRoutingConfig
public AudioRoutingConfig(AudioController.UseSpeakerphone useSpeakerphoneState, boolean manageBluetoothAudio)
Creates automatic routing configuration object.- Parameters:
useSpeakerphoneState
- can be set toAudioController.UseSpeakerphone
AUTO, TRUE or FALSE. AUTO mode uses proximity sensor to operate.manageBluetoothAudio
- if set to true, allows to automatically reroute audio to Bluetooth headset when available. FiresMissingPermissionException
if android.Manifest.permission.BLUETOOTH is not granted.
-
-
Method Detail
-
isBluetoothAudioManaged
public boolean isBluetoothAudioManaged()
-
getUseSpeakerphoneState
public AudioController.UseSpeakerphone getUseSpeakerphoneState()
-
-