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 String
id
private final Long
timestamp
private final ConversationUnreadCountChange
data
private final Integer
currentUnreadCount
-
Constructor Summary
Constructors Constructor Description ZendeskEvent.UnreadMessageCountChanged(String id, Long timestamp, ConversationUnreadCountChange data, Integer currentUnreadCount)
-
Method Summary
Modifier and Type Method Description final String
getId()
The unique identifier of the event. final Long
getTimestamp()
The Unix timestamp when the event fired. 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. final Integer
getCurrentUnreadCount()
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.
-
-
-
-