DeviceApiClientImpl

Constructors

Link copied to clipboard
constructor(baseClient: MatrixClientServerApiBaseClient)

Functions

Link copied to clipboard
open suspend override fun deleteDehydratedDevice(asUserId: UserId?): Result<DeleteDehydratedDevice.Response>
Link copied to clipboard
open suspend override fun deleteDevice(deviceId: String, asUserId: UserId?): Result<UIA<Unit>>
Link copied to clipboard
open suspend override fun deleteDevices(devices: List<String>, asUserId: UserId?): Result<UIA<Unit>>
Link copied to clipboard
open suspend override fun getDehydratedDevice(asUserId: UserId?): Result<GetDehydratedDevice.Response>
Link copied to clipboard
open suspend override fun getDehydratedDeviceEvents(deviceId: String, nextBatch: String?, asUserId: UserId?): Result<GetDehydratedDeviceEvents.Response>
Link copied to clipboard
open suspend override fun getDevice(deviceId: String, asUserId: UserId?): Result<Device>
Link copied to clipboard
open suspend override fun getDevices(asUserId: UserId?): Result<List<Device>>
Link copied to clipboard
open suspend override fun setDehydratedDevice(deviceId: String, deviceData: DehydratedDeviceData, deviceKeys: SignedDeviceKeys, oneTimeKeys: Keys?, fallbackKeys: Keys?, initialDeviceDisplayName: String?, asUserId: UserId?): Result<SetDehydratedDevice.Response>
Link copied to clipboard
open suspend override fun updateDevice(deviceId: String, displayName: String, asUserId: UserId?): Result<Unit>