getDevice

abstract suspend fun getDevice(deviceId: ResourceId): Device

Get a specific device by ID.

Parameters

deviceId

The ID of the device to fetch.