restore Keys With Recovery Key
abstract suspend fun restoreKeysWithRecoveryKey( keysVersionResult: KeysVersionResult, recoveryKey: IBackupRecoveryKey, roomId: String?, sessionId: String?, stepProgressListener: StepProgressListener?): ImportRoomKeysResult
Content copied to clipboard
Restore a backup with a recovery key from a given backup version stored on the homeserver.
Parameters
keys Version Result
the backup version to restore from.
recovery Key
the recovery key to decrypt the retrieved backup.
room Id
the id of the room to get backup data from.
session Id
the id of the session to restore.
step Progress Listener
the step progress listener