DeviceList

@RequiresApi(value = 31)
@RequiresPermission(value = "android.permission.BLUETOOTH_CONNECT")
fun DeviceList(title: String, deviceWithConfigList: List<BluetoothDeviceWithConfig>, onItemClicked: (BluetoothDeviceWithConfig) -> Unit)

Parameters

title

label for DeviceList

deviceWithConfigList
onItemClicked

callback invoked on Device item click