Returns the number of unread messages.
The number of unread messages
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Removes a previously registered listener
The event to unregister from.
The listener to remove.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Registers an event listener for the given event.
The notificationCountChanged event.
The listener to be called.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Registers an event listener for the given event.
The newNotification event.
The listener to be called.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Static ReadonlyNEW_Event emitted every time there is a new notification
newNotification
Static ReadonlyNOTIFICATION_Event emitted every time the notification count (unread messages) changes.
notificationCountChange
This class provides functionality around agent notifications.