Keys Backup State
E2e keys backup states.
| V deleteKeyBackupVersion (on current backup) +----------------------> UNKNOWN <------------- | | | | checkAndStartKeysBackup (at startup or on new verified device or a new detected backup) | V | CHECKING BACKUP | | | Network error | +<----------+----------------+-------> DISABLED <----------------------+ | | | | | | | | | createKeysBackupVersion | | V | V | +<--- WRONG VERSION | ENABLING | | ^ | | | | | V ok | error | | | +------> READY <--------+----------------------------+ V | | | NOT TRUSTED | | | on new key | | V | | WILL BACK UP (waiting a random duration) | | | | | | | | ok V | +----- BACKING UP | | | Error | +<---------------+
Entries
Checking if backup is enabled on homeserver.
Backup has been stopped because a new backup version has been detected on the homeserver.
There is a backup available on the homeserver but it is not trusted. It is not trusted because the signature is invalid or the device that created it is not verified. Use KeysBackup.getKeysBackupTrust() to get trust details. Consequently, the backup from this device is not enabled.
Backup is enabled and ready to send backup to the homeserver.
e2e keys are going to be sent to the homeserver.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.