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 should call SyncService::start()
again to restart the room list
sync, if that is not desirable, the offline support for the SyncService
may be enabled using the SyncServiceBuilder::with_offline_mode
setting.
Structs§
- Sync
Service - A high level manager for your Matrix syncing needs.
- Sync
Service Builder
Enums§
- Error
- Errors for the
SyncService
API. - State
- Current state of the application.