Audio Controller
interface AudioController
Controls different audio settings. This object is only valid while the connected SinchClient is started. As soon as the SinchClient is stopped, it is invalidated and must not be used.
See also
Types
Link copied to clipboard
data class AudioRoutingConfig(val useSpeakerphoneState: AudioController.UseSpeakerphone, val isBluetoothAudioManaged: Boolean)
Automatic routing configuration data.
Link copied to clipboard
Functions
Link copied to clipboard
Disables automatic audio routing (AAR). When AAR is disabled use AudioController.enableSpeaker to toggle between speakerphone and earpiece.
Link copied to clipboard
Disables speaker mode.
Link copied to clipboard
Enables automatic audio routing between earpiece, speakerphone, wired headset and bluetooth audio devices. Priorities are following:
Link copied to clipboard
Enables speaker mode.
Link copied to clipboard
Sets a listener for the local audio listener.