1.1.0
Enhancements
- Added a constructor parameter named
preferredDeviceList
to configure the order in which audio devices are automatically selected and activated whenselectedAudioDevice
is null.
val audioSwitch = AudioSwitch(application, preferredDeviceList = listOf(Speakerphone::class.java, BluetoothHeadset::class.java))
- Updated
compileSdkVersion
andtargetSdkVersion
to Android API version30
.