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

import { TencentImSDKPlugin } from 'react-native-tim-js';




const businessID = 0;
const token = '';
const isTPNSToken = false;

const setOfflinePushConfigRes = await TencentImSDKPlugin.v2TIMManager
    .getOfflinePushManager()
    .setOfflinePushConfig(businessID, token, isTPNSToken);
if (setOfflinePushConfigRes.code === 0) {

}

results matching ""

    No results matching ""