Class: Session

Session

new Session(navigator, newProjectId, geoListenEnablement, options)

Create a new Session
Parameters:
Name Type Description
navigator object provides access to the userAgent string
newProjectId Number identifies the Roundware project to associate with this session
geoListenEnablement Boolean whether the server should enable geo listening features
options Object Various configuration parameters for this session
Properties
Name Type Description
apiClient apiClient the API client object to use for server API calls
Source:

Methods

connect() → {Promise}

Make an asynchronous API call to establish a session with the Roundware server
Source:
Returns:
represents the pending API call
Type
Promise

toString() → {String}

Source:
Returns:
human-readable representation of this session
Type
String

Session

Responsible for establishing a session with the Roundware server

Constructor

new Session()

Source:

Methods

connect() → {Promise}

Make an asynchronous API call to establish a session with the Roundware server
Source:
Returns:
represents the pending API call
Type
Promise

toString() → {String}

Source:
Returns:
human-readable representation of this session
Type
String