Closed rulfox closed 3 years ago
This is supported as of 1.1.0. Here's how to configure it for your use case:
val audioSwitch = AudioSwitch(application, preferredDeviceList = listOf(BluetoothHeadset::class.java, WiredHeadset::class.java, Speakerphone::class.java, Earpiece::class.java))
Closing for now. Please feel free to reach out if additional help is needed when using this feature.
How to change the priority from
BluetoothHeadset -> WiredHeadset -> Earpiece -> Speakerphone to BluetoothHeadset -> WiredHeadset -> Speakerphone -> Earpiece