disconnect Device

suspend fun disconnectDevice(device: ConnectedDevice): JsonObject

Request to disconnect a device from the current session

Return

the result of the request as JsonObject

Parameters

device

The device to disconnect


suspend fun disconnectDevice(deviceId: String): JsonObject

Request to disconnect a device from the current session

Return

the result of the request as JsonObject

Parameters

deviceId

The identifier of the device to disconnect