Module matrix_sdk_ui::sync_service
source · Expand description
Unified API for both the Room List API and the Encryption Sync API, that takes care of all the underlying details.
This is an opiniated way to run both APIs, with high-level callbacks that should be called in reaction to user actions and/or system events.
The sync service will signal errors via its
state
that the user
MUST observe. Whenever an error/termination is observed, the user MUST call
SyncService::start()
again to restart the room list sync.
Structs§
Enums§
- Errors for the
SyncService
API. - Current state of the application.