TTBadgeData Class Reference

Inherits from NSObject
Declared in TTBadgeData.h

Overview

TTBadgeData contains the unread count for a specific conversation or for all conversations related to a specific organization.

Warning: Once an observer is added with addObserver:, the observer must be removed by calling removeObserver: before the observer is deallocated.

  token

An organization’s token.

@property (nonatomic, strong) NSString *token

Discussion

Note: This property will be nil if this instance relates to a specific conversation.

Declared In

TTBadgeData.h

  unreadCount

Total unread messages count.

@property (nonatomic, assign) NSUInteger unreadCount

Declared In

TTBadgeData.h

  priorityMessagesUnreadCount

Priority messages only unread count.

@property (nonatomic, assign) NSUInteger priorityMessagesUnreadCount

Declared In

TTBadgeData.h

  unreadAlertsCount

General alerts unread count.

@property (nonatomic, assign) NSUInteger unreadAlertsCount

Declared In

TTBadgeData.h

  unreadPatientCareCount

Patient care messages unread count.

@property (nonatomic, assign) NSUInteger unreadPatientCareCount

Declared In

TTBadgeData.h

  activeEscalationsCount

Active Escalations messages count.

@property (nonatomic, assign) NSUInteger activeEscalationsCount

Declared In

TTBadgeData.h

  unreadPatientNetworkCount

Total unread patient network count.

@property (nonatomic, assign) NSUInteger unreadPatientNetworkCount

Declared In

TTBadgeData.h

  unreadProviderNetworkCount

Total unread patient network count.

@property (nonatomic, assign) NSUInteger unreadProviderNetworkCount

Declared In

TTBadgeData.h

  conversationHash

A conversation hash to which this instance relates.

@property (nonatomic, strong) NSString *conversationHash

Discussion

Note: This property will be nil if the instance relates to an organization.

Declared In

TTBadgeData.h

– hasUnreadCount

- (BOOL)hasUnreadCount

– addObserver:

Add an observer to listen for changes.

- (void)addObserver:(id<TTBadgeDataObserver>)observer

Declared In

TTBadgeData.h

– removeObserver:

Remove an observer.

- (void)removeObserver:(id<TTBadgeDataObserver>)observer

Declared In

TTBadgeData.h