Glance Session Guest API
Classes
Type Definitions
GuestConnection
Guest connection information
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
ok |
boolean | true if connected successfully, false otherwise |
code |
string | code which can be used by the agent to admit the guest |
timeout |
number | seconds until the code times out |
GuestConnectorParams
Parameters to intialize the GLANCE.Guest.Connector.
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
groupid |
number | Customer group id. |
|
ws |
string |
<optional> |
Service host name. Omit for www.glance.net |
Events
admitted
Guest admitted event. Fired by GLANCE.Guest.Connector when an agent admits a guest into a session. The default behavior for the admitted event is to redirect to a page that views the session. To override this behavior, handle the "admitted" event and call event.preventDefault()
Type:
- Event
timeout
Guest code timeout event. Fired by GLANCE.Guest.Connector when the guest connect code has expired. To prevent a code from timing out, call moreTime before the timeout event fires
Type:
- Event