Public Member Functions | |
abstract void | setOfflinePushConfig (V2TIMOfflinePushConfig config, V2TIMCallback callback) |
abstract void | doBackground (int unreadCount, V2TIMCallback callback) |
abstract void | doForeground (V2TIMCallback callback) |
|
abstract |
Configure offline push
config | Offline push configuration |
callback | Callback |
|
abstract |
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 |
|
abstract |
This API can be called when the app is switched to the foreground.
callback | Callback |