Get the active individual UI view.
NOTE: The view being active doesn't necessarily mean it's visible to the user. The UI as a whole may be collapsed, for instance.
A promise that resolves to the ActiveIndividualUiView of the individual UI.
Get the state of the individual UI.
A promise that resolves to the IndividualUiState of the individual UI.
Registers an event listener for the given event.
The uistateChange event.
The listener to be called.
Registers an event listener for the given event.
The uiOverviewOpen event.
The listener to be called.
Navigates the individual UI to the overview UI.
Be aware that this method will force to close any currently open conversation. Depending on the conversation's configuration and the activity in it a prompt may be displayed that has to be accepted by the visitor before the navigation to the overview can happen.
NOTE: calling this method will NOT automatically open the Unblu UI if it is collapsed. Use openIndividualUi if this is needed.
Navigates the individual UI to the PIN entry UI.
NOTE: calling this method will NOT automatically open the Unblu UI if it is collapsed. Use openIndividualUi if this is needed.
Pop-in the individual UI when it is in [POPPED_OUT]IndividualUiState.POPPED_OUT state.
The pop-out window will automatically close and the individual UI will be displayed in the original window again.
Static
Readonly
UI_Event emitted every time individual UI view changes.
NOTE: This event is also triggered when an individual UI view change happens, but the UI isn't visible, for example, because it's collapsed.
uiActiveIndividualUiViewChange
Static
Readonly
UI_Event emitted every time the state of the individual UI is changed.
uiStateChange
This class allows you to control the UI state and the Unblu individual UI.