getUnreadCount

@IntRange(from = 0)
open fun getUnreadCount(): Int

Get stream unread count.

Unread count is automatically calculated as the number of events newer than last seen timestamp.

Return

Count of unread stream events in this stream.