Options
All
  • Public
  • Public/Protected
  • All
Menu

unblu-visitor-js-api

Index

Type aliases

AgentAvailabilityChangeListener

AgentAvailabilityChangeListener: function

Listener called whenever the agent availability changes.

param

The new availability.

Type declaration

CallStateListener

CallStateListener: function

Type declaration

ConnectionStateListener

ConnectionStateListener: function

Type declaration

ConversationChangeListener

ConversationChangeListener: function

Listener called whenever the active conversation changes.

Note: If no conversation is currently active the passed conversation object will be null

param

API object for the active conversation or null if no conversation is active.

Type declaration

ErrorListener

ErrorListener: function

Type declaration

    • (e: Error): void
    • Parameters

      • e: Error

      Returns void

NotificationCountChangeListener

NotificationCountChangeListener: function

Listener called whenever the notification count of a person (i.e. unread messages) changes.

param

The number of unseen notifications.

Type declaration

    • (count: number): void
    • Parameters

      • count: number

      Returns void

PersonChangeListener

PersonChangeListener: function

Listener called whenever the local person changes.

param

Info about the person.

Type declaration

ReadyListener

ReadyListener: function

Type declaration

UiStateChangeListener

UiStateChangeListener: function

Listener called whenever the UI state changes.

param

The new UI state.

Type declaration

Variables

Const unblu

unblu: Unblu = (UnbluUtil.getUnbluObject() || UnbluUtil.createUnbluObject()) as Unblu