getOfflinePushManager
Introduction
Get the offline push manager, which is the main class for those offline push related methods.
The main class for those offline push related methods.
Parameter details
This API has no parameters
Returned template
V2TIMOfflinePushManager
Return value details
name | type | description |
---|---|---|
V2TIMOfflinePushManager | V2TIMOfflinePushManager | The main class for those offline push related methods. |
Code example
V2TimCallback setOfflinePushConfigRes = await TencentImSDKPlugin
.v2TIMManager
.getOfflinePushManager()
.setOfflinePushConfig(
businessID: 0,
token: "",
isTPNSToken: false);
if (setOfflinePushConfigRes.code == 0) {
}