DeviceHeaderCard

@RequiresApi(value = 31)
@RequiresPermission(value = "android.permission.BLUETOOTH_CONNECT")
fun DeviceHeaderCard(bluetoothDevice: BluetoothDevice, connectionStatus: ConnectionStatus, changeConnectionStatus: () -> Unit)

Parameters

bluetoothDevice

currently selected BluetoothDevice

connectionStatus
changeConnectionStatus

callback to change current connectionStatus depending on its value