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:
commit
d85deaf785
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue