restoreKeysWithRecoveryKey

abstract suspend fun restoreKeysWithRecoveryKey(    keysVersionResult: KeysVersionResult,     recoveryKey: IBackupRecoveryKey,     roomId: String?,     sessionId: String?,     stepProgressListener: StepProgressListener?): ImportRoomKeysResult

Restore a backup with a recovery key from a given backup version stored on the homeserver.

Parameters

keysVersionResult

the backup version to restore from.

recoveryKey

the recovery key to decrypt the retrieved backup.

roomId

the id of the room to get backup data from.

sessionId

the id of the session to restore.

stepProgressListener

the step progress listener