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
|
- 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