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

Properties

NSString * title
 
NSString * desc
 
NSString * ext
 
BOOL disablePush
 
NSString * iOSSound
 
BOOL ignoreIOSBadge
 
NSString * AndroidOPPOChannelID
 
NSInteger AndroidVIVOClassification
 

Property Documentation

◆ title

- (NSString*) title
readwritenonatomicstrong

Notification title(This field must be set for custom message offline push)

◆ desc

- (NSString*) desc
readwritenonatomicstrong

Notification content.

◆ ext

- (NSString*) ext
readwritenonatomicstrong

Extended field passed through by offline push The party that receives the offline push can get this field in UIApplicationDelegate -> didReceiveRemoteNotification -> userInfo, and use this field to make UI jump logic.

◆ disablePush

- (BOOL) disablePush
readwritenonatomicassign

Whether to disable push (push enabled by default)

◆ iOSSound

- (NSString*) iOSSound
readwritenonatomicstrong

Offline push sound setting (valid only for iOS)

When iOSSound is kIOSOfflinePushNoSound, no sound is played when a message is received. When iOSSound is kIOSOfflinePushDefaultSound, the system alert sound is played when a message is received. To customize iOSSound, link the audio file to the Xcode project and set iOSSound to the audio filename (with the extension name).

◆ ignoreIOSBadge

- (BOOL) ignoreIOSBadge
readwritenonatomicassign

Whether to ignore the badge count for offline push (valid only for iOS)

If this parameter is set to YES, the unread message count on the app badge will not increase when the message is received by the iOS device.

◆ AndroidOPPOChannelID

- (NSString*) AndroidOPPOChannelID
readwritenonatomicstrong

Offline push channel ID for OPPO phones that run Android 8.0 or later.

◆ AndroidVIVOClassification

- (NSInteger) AndroidVIVOClassification
readwritenonatomicassign

Offline push setting for vivo phones Offline push message classification for vivo phones. 0: operation message; 1: system message. The default value is 1.