Device Api Client
Functions
Link copied to clipboard
abstract suspend fun deleteDehydratedDevice(asUserId: UserId? = null): Result<DeleteDehydratedDevice.Response>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getDehydratedDevice(asUserId: UserId? = null): Result<GetDehydratedDevice.Response>
Link copied to clipboard
abstract suspend fun getDehydratedDeviceEvents(deviceId: String, nextBatch: String? = null, asUserId: UserId? = null): Result<GetDehydratedDeviceEvents.Response>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun setDehydratedDevice(deviceId: String, deviceData: DehydratedDeviceData, deviceKeys: SignedDeviceKeys, oneTimeKeys: Keys? = null, fallbackKeys: Keys? = null, initialDeviceDisplayName: String? = null, asUserId: UserId? = null): Result<SetDehydratedDevice.Response>
Link copied to clipboard
abstract suspend fun updateDevice(deviceId: String, displayName: String, asUserId: UserId? = null): Result<Unit>