Represents the state of the application's session to Interaction Center.
Members
connected :boolean
Represents whether the application is connected to Interaction Center or not.
host :string
When the application is connected to Interaction Center, represents the Session Manager host the application is connected to.
This property will be null
when the application is not connected.
icServer :string
When the application is connected to Interaction Center, represents the Interaction Center server name the application is connected to.
This property will be null
when the application is not connected.
station :ININ.Addins.IC.IStationInfo
When the application is connected to Interaction Center, represents the station of the user the application that is connected.
This property will be null
when the application is not connected.
userId :string
When the application is connected to Interaction Center, represents the identifier of the user that is connected.
This property will be null
when the application is not connected.
Methods
off(key[, handler]) :ININ.Addins.IEventHandler
Unbinds the optionally specified handler from the event key.
Inherited from ININ.Addins.IEventHandler#off
Parameters
Name | Type | Description |
---|---|---|
key | String |
The event key. |
handler | function |
The callback handler. |
Returns
This ININ.Addins.IEventHandler
instance.
on(key, handler) :ININ.Addins.IEventHandler
Binds the specified event key to the callback that can be emitted 1 or more times.
Inherited from ININ.Addins.IEventHandler#on
Parameters
Name | Type | Description |
---|---|---|
key | String |
The event key. |
handler | function |
The callback handler. |
Returns
This ININ.Addins.IEventHandler
instance.
once(key, handler) :ININ.Addins.IEventHandler
Binds the specified event key to the callback that can be emitted only once, then removed.
Inherited from ININ.Addins.IEventHandler#once
Parameters
Name | Type | Description |
---|---|---|
key | String |
The event key. |
handler | function |
The callback handler. |
Returns
This ININ.Addins.IEventHandler
instance.
Events
changed
The state of the session has changed.
Parameters
Name | Type | Description |
---|---|---|
sessionInfo | ININ.Addins.IC.ISessionInfo |
The |
connected
The application is now connected to Interaction Center.
Parameters
Name | Type | Description |
---|---|---|
sessionInfo | ININ.Addins.IC.ISessionInfo |
The |
disconnected
The application is now disconnected from Interaction Center.
Parameters
Name | Type | Description |
---|---|---|
sessionInfo | ININ.Addins.IC.ISessionInfo |
The |