deviceWithIdentityKey

abstract fun deviceWithIdentityKey(userId: String, identityKey: String): CryptoDeviceInfo?

Retrieve a device by its identity key.

Return

the device or null if not found

Parameters

userId

the device owner

identityKey

the device identity key (MXDeviceInfo.identityKey)