disconnectDevice

@RequiresApi(value = 33)
@RequiresPermission(value = "android.permission.BLUETOOTH_CONNECT")
suspend fun disconnectDevice(bluetoothDevice: BluetoothDevice): Unit?

Parameters

bluetoothDevice

BluetoothDevice to disconnect