Session
This interface defines interactions with a session. An instance of a session will be provided by the SDK.
Types
Functions
Returns the account data service associated with the session.
Returns the AccountService associated with the session.
Add a listener to the session.
Returns the call signaling service associated with the session.
Clear cache of the session.
Returns the ContentDownloadStateTracker associated with the session.
Returns the ContentScannerService associated with the session.
Returns the ContentUploadProgressTracker associated with the session.
Returns the ContentUrlResolver associated to the session.
Returns the cryptoService associated with the session.
Returns the EventService associated with the session.
Returns the EventStreamService associated with the session.
Returns the federation service associated with the session.
Returns the file download service associated with the session.
Debug API, will return info about the DB.
Will return a OkHttpClient which will manage pinned certificates and Proxy if configured. It will not add any access-token to the request. So it is exposed to let the app be able to download image with Glide or any other libraries which accept an OkHttp client.
Debug API, return the list of all RealmConfiguration used by this session.
Returns the HomeServerCapabilities service associated with the session.
Returns the identity service associated with the session.
Returns the integration manager service associated with the session.
Returns the media service associated with the session.
This method allow to open a session. It does start some service on the background.
Returns the open id service associated with the session.
Returns the permalink service associated with the session.
Returns the PresenceService associated with the session.
Returns the ProfileService associated with the session.
Returns the PushersService associated with the session.
Returns the PushRuleService associated with the session.
Remove a listener from the session.
Returns the RoomDirectoryService associated with the session.
Returns the RoomService associated with the session.
Returns the search service associated with the session.
Returns the SharedSecretStorageService associated with the session.
Returns the SignOutService associated with the session.
Returns the space service associated with the session.
Returns the SyncService associated with the session.
Returns the TermsService associated with the session.
Returns the third party service associated with the session.
Returns the ToDeviceService associated with the session.
Returns the TypingUsersTracker associated with the session.
Returns the UserService associated with the session.
Returns the widget service associated with the session.
Properties
Extensions
Get a room summary using the RoomService of a Session.
Similar to getUser, but fallback to a User without details if the User is not known by the SDK, or if Session is null.