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.
V2TIMAPNSConfig

Properties

NSData * token
 
int businessID
 
BOOL isTPNSToken
 

Property Documentation

◆ token

- (NSData*) token
readwritenonatomicstrong

APNS token Or TPNS token

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.

◆ businessID

- (int) businessID
readwritenonatomicassign

Apple Push certificate ID, generated by IM cloud console. Ignored when use TPNS channel

◆ isTPNSToken

- (BOOL) isTPNSToken
readwritenonatomicassign

Indicated whether using TPNS channel, and the token is generated by TPNS channel.