Public Member Functions | |
virtual | ~V2TIMOfflinePushManager () |
virtual void | SetOfflinePushConfig (const V2TIMOfflinePushConfig &config, V2TIMCallback *callback)=0 |
virtual void | DoBackground (uint32_t unreadCount, V2TIMCallback *callback)=0 |
virtual void | DoForeground (V2TIMCallback *callback)=0 |
|
inlinevirtual |
|
pure virtual |
Configure offline push Note:
config | Offline push configuration |
callback | Callback |
|
pure virtual |
This API can be called when the app is switched to the background. It can be used to get the initial unread message count for the app badge.
unreadCount | Unread count |
callback | Callback |
|
pure virtual |
This API can be called when the app is switched to the foreground.
callback | Callback |