Properties | |
NSString * | title |
NSString * | desc |
NSString * | ext |
BOOL | disablePush |
V2TIMIOSOfflinePushType | iOSPushType |
BOOL | ignoreIOSBadge |
NSString * | iOSSound |
NSString * | AndroidSound |
NSString * | AndroidOPPOChannelID |
NSString * | AndroidFCMChannelID |
NSString * | AndroidXiaoMiChannelID |
NSInteger | AndroidVIVOClassification |
NSString * | AndroidVIVOCategory |
NSString * | AndroidHuaWeiCategory |
|
readwritenonatomicstrong |
Notification title(This field must be set for custom message offline push)
|
readwritenonatomicstrong |
Notification content.
|
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.
|
readwritenonatomicassign |
Whether to disable push (push enabled by default)
|
readwritenonatomicassign |
The type of offline push on iOS (valid only for iOS) Default value is V2TIM_IOS_OFFLINE_PUSH_TYPE_APNS
|
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.
|
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).
|
readwritenonatomicstrong |
Offline push sound setting (valid only for Android, supported only in imsdk 6.1 and later versions)
Only Huawei and Google phones support setting ringtone. And Xiaomi needs refer to https://dev.mi.com/console/doc/detail?pId=1278%23_3_0 .
In addition, Google phones using FCM to set the sound prompt on Android 8.0 and above systems, which needs to be configured in notification channel, please refer to the interface AndroidFCMChannelID
To customize AndroidSound: The ringtone file name in the raw directory of the Android project, no suffix is required.
|
readwritenonatomicstrong |
Offline push sets the ChannelID pushed by OPPO mobile phone, only supports 8.0 system and above. (It is necessary to set the application configuration to access the OPPO push)
|
readwritenonatomicstrong |
Offline push sets the ChannelID pushed by Google FCM mobile phone, only supports 8.0 system and above.
|
readwritenonatomicstrong |
Offline push sets the ChannelID pushed by XiaoMi mobile phone, only supports 8.0 system and above.
|
readwritenonatomicassign |
Offline push setting for VIVO push classification. (It is deprecated and discouraged to call this function. The VIVO push service has optimize the message classification rules on April 3, 2023. Please call API AndroidVIVOCategory instead.) Offline push message classification for vivo phones. 0: operation message; 1: system message. The default value is 1.
|
readwritenonatomicstrong |
Offline push setting for VIVO push category,See details:https://dev.vivo.com.cn/documentCenter/doc/359. (The VIVO push service has optimize the message classification rules on April 3, 2023. Please call API AndroidVIVOCategory instead.)
|
readwritenonatomicstrong |
Offline push setting for HuaWei push category,See details:https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/message-classification-0000001149358835.