Datasync State
Represents some state indicators about a DatasyncService instance.
Such a state must be read using the DatasyncManager.subscribeToStateChange method on any DatasyncManager instance of the targeted DatasyncService.
Types
Represents the state of the real-time connection (web-socket) of a DatasyncService to the Webcom back end.
Functions
Indicates whether a user is actually authenticated on the real time connection to the Webcom back end.
Indicates whether the real time connection to the Webcom back end is established.
Properties
Identifier of the WebcomApplication this Notification relates to.
The WebcomApplication instance this DatasyncState relates to.
All the properties that describe the authenticated user if isAuthenticated returns true
or null
otherwise (no user is authenticated).
State of the user authentication maintained on the real time connection (web-socket) of the DatasyncService to the Webcom back end. If the connection is in the ConnectionState.Disconnected state, this indicates the authentication state that will be restored when the connection will be re-established.
State of the real time connection (web-socket) of the DatasyncService to the Webcom back end.
Path of the data this Notification relates to, or ""
if it doesn't relate to any data node.