Webcom Configuration
Represents the settings of a WebcomApplication instance.
WebcomConfiguration instances are generally built using the fromProperties and fromAsset methods.
Constructors
Builds a WebcomConfiguration instance with specific settings.
Types
Provides with a set of methods to easily build WebcomConfiguration instances.
Available versions of the websocket protocol between the Webcom SDK client and the Webcom back end.
Properties
The identifier of the Webcom application. Mandatory
The offline data to restore into the local cache when starting the Webcom application. The specified data must have been previously retrieved using DatasyncService.offlineCache.
The delay (expressed in milliseconds) between ping requests when there is no activity on the websocket. If not set, a default value is used.
The maximum delay (expressed in milliseconds) for the back end to respond a ping request on the websocket. If not set, a default value is used.
Indicates whether the DatasyncService will open the websocket to the Webcom back end at start up.
The version of the websocket protocol to use to communicate with the Webcom back end. Advanced usage: prefer using the default value.
Functions
Creates a copy of this WebcomConfiguration with the WebcomConfiguration.offlineCache property set to offlineCache.
Creates a copy of this WebcomConfiguration with the WebcomConfiguration.startOnline property set to startOnline.