prepare Keys Backup Version
abstract suspend fun prepareKeysBackupVersion(password: String?, progressListener: ProgressListener?): MegolmBackupCreationInfo
Content copied to clipboard
Set up the data required to create a new backup version. The backup version will not be created and enabled until createKeysBackupVersion is called. The returned MegolmBackupCreationInfo object has a recoveryKey
member with the user-facing recovery key string.
Parameters
password
an optional passphrase string that can be entered by the user when restoring the backup as an alternative to entering the recovery key.
progress Listener
a progress listener, as generating private key from password may take a while