Package zendesk.android.events
Class ZendeskEvent.UnreadMessageCountChanged
-
- All Implemented Interfaces:
public final class ZendeskEvent.UnreadMessageCountChanged extends ZendeskEvent
The number of unread messages has changed.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Longtimestampprivate final ConversationUnreadCountChangedataprivate final IntegercurrentUnreadCount
-
Constructor Summary
Constructors Constructor Description ZendeskEvent.UnreadMessageCountChanged(String id, Long timestamp, ConversationUnreadCountChange data, Integer currentUnreadCount)
-
Method Summary
Modifier and Type Method Description final StringgetId()The unique identifier of the event. final LonggetTimestamp()The Unix timestamp when the event fired. final ConversationUnreadCountChangegetData()The details of the unread message count change, including total unread messages across all conversations and the latest updated top active conversation specific unread message count change. final IntegergetCurrentUnreadCount()The current number of unread messages across all conversations. -
-
Constructor Detail
-
ZendeskEvent.UnreadMessageCountChanged
ZendeskEvent.UnreadMessageCountChanged(String id, Long timestamp, ConversationUnreadCountChange data, Integer currentUnreadCount)
-
-
Method Detail
-
getTimestamp
final Long getTimestamp()
The Unix timestamp when the event fired.
-
getData
final ConversationUnreadCountChange getData()
The details of the unread message count change, including total unread messages across all conversations and the latest updated top active conversation specific unread message count change.
-
getCurrentUnreadCount
final Integer getCurrentUnreadCount()
The current number of unread messages across all conversations.
-
-
-
-