DeviceApiClient

Functions

Link copied to clipboard
abstract suspend fun deleteDevice(deviceId: String, asUserId: UserId? = null): Result<UIA<Unit>>
Link copied to clipboard
abstract suspend fun deleteDevices(devices: List<String>, asUserId: UserId? = null): Result<UIA<Unit>>
Link copied to clipboard
abstract suspend fun getDevice(deviceId: String, asUserId: UserId? = null): Result<Device>
Link copied to clipboard
abstract suspend fun getDevices(asUserId: UserId? = null): Result<List<Device>>
Link copied to clipboard
abstract suspend fun updateDevice(deviceId: String, displayName: String, asUserId: UserId? = null): Result<Unit>