Class: MessageCounts

wsc. MessageCounts

Represents the notification message counts of the message-summary type.

new MessageCounts()

An instance is created by MessageSummary when an application wants to get the message count from wsc.MessageSummary.

See:
  • wsc.MessageSummary#getMessageCounts(msgClassType)

Methods

getNew()

Get the number of new messages.

Returns:

the number of new messages

getOld()

Get the number of old messages.

Returns:

the number of old messages

getUrgentNew()

Get the number of urgent new messages.

Returns:

the number of urgent new messages

getUrgentOld()

Get the number of urgent old messages.

Returns:

the number of urgent old messages

Oracle® Communications WebRTC Session Controller JavaScript API Reference, E55131-03
Copyright © 2013, 2015, Oracle and/or its affiliates. All rights reserved.