disconnect Device

fun disconnectDevice(device: ConnectedDevice, onDisconnected: () -> Unit)

Method used to request the disconnection about a device

Parameters

device

The device to disconnect

onDisconnected

The callback to execute after the device disconnected