Merge pull request #1769 from vector-im/feature/bma/chatBackupWaitingForSync

Ensure BackupState and RecoveryState values are set from the SDK only…
This commit is contained in:
Benoit Marty
2023-11-09 09:21:51 +01:00
committed by GitHub
5 changed files with 60 additions and 5 deletions
@@ -17,6 +17,14 @@
package io.element.android.libraries.matrix.api.encryption
enum class BackupState {
/**
* Special value, when the SDK is waiting for the first sync to be done.
*/
WAITING_FOR_SYNC,
/**
* Values mapped from the SDK.
*/
UNKNOWN,
CREATING,
ENABLING,
@@ -17,6 +17,14 @@
package io.element.android.libraries.matrix.api.encryption
enum class RecoveryState {
/**
* Special value, when the SDK is waiting for the first sync to be done.
*/
WAITING_FOR_SYNC,
/**
* Values mapped from the SDK.
*/
UNKNOWN,
ENABLED,
DISABLED,