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.

Instance Methods

(uint32_t) - onSetAPPUnreadCount

Method Documentation

◆ onSetAPPUnreadCount()

- (uint32_t) onSetAPPUnreadCount

Customize unread count of the APP when enter background.

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; }