IMSDK
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.
V2TIMOfflinePushConfig

Public Member Functions

 V2TIMOfflinePushConfig (long businessID, String token, boolean isTPNSToken)
 
 V2TIMOfflinePushConfig (long businessID, String token)
 

Constructor & Destructor Documentation

◆ V2TIMOfflinePushConfig() [1/2]

V2TIMOfflinePushConfig ( long  businessID,
String  token,
boolean  isTPNSToken 
)
inline

Offline Push Config

Parameters
businessIDIM Console's ID,no need for TPNS
tokenAPNS token Or TPNS token
isTPNSTokenFlag for TPNS
Attention
token using attention
  • If using TPNS channel,the isTPNSToken should be YES and the token should be tpns token;
  • If using APNS channel,the isTPNSToken should be NO and the token should be apns token.

◆ V2TIMOfflinePushConfig() [2/2]

V2TIMOfflinePushConfig ( long  businessID,
String  token 
)
inline