IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
<V2TIMAPNSListener>

Instance Methods

(uint32_t) - onSetAPPUnreadCount
 

Method Documentation

◆ onSetAPPUnreadCount()

- (uint32_t) onSetAPPUnreadCount
optional

Customize unread count of the APP when enter background.

Attention
If the V2TIMAPNSListener has not been set, the unread count of the APP will default to the sum of the unread messages of all conversations.
  • (uint32_t)onSetAPPUnreadCount { return 100; }