| Interface | Description |
|---|---|
| PushModel |
| Class | Description |
|---|---|
| BatchPushResult | |
| EncryptKeys | |
| EncryptPushPayload | |
| InappMessage |
inapp_message 此功能生效需Android push SDK≥V3.9.0、iOS push SDK≥V3.4.0,若低于此版本按照原流程执行。
默认值为false
|
| InappMessage.Builder | |
| Message |
Android 1.6.2 及以下版本 接收 notification 与 message 并存(即本次 api 调用同时推送通知和消息)的离线推送, 只能收到通知部分,message 部分没有透传给 App。
Android 1.6.3 及以上 SDK 版本已做相应调整,能正常接收同时推送通知和消息的离线记录。
iOS 1.7.3 及以上的版本才能正确解析 v3 的 message,但是无法解析 v2 推送通知同时下发的应用内消息。
|
| Message.Builder | |
| Notification3rd |
使用说明
notification_3rd 只针对开通了厂商通道的用户生效;
notification 和 notification_3rd 不能同时有内容,如果这两块同时有内容,则会返回错误提示;
notification_3rd 的内容对 iOS 和 WinPhone 平台无效,只针对 Android 平台生效;
notification_3rd 是用作补发厂商通知的内容,只有当 message 部分有内容,才允许传递此字段,且要两者都不为空时,才会对离线的厂商设备转发厂商通道的通知。
|
| Notification3rd.Builder | |
| Options | |
| Options.Builder | |
| Platform |
https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push/#platform
JPush 当前支持 Android, iOS, QuickApp,Windows Phone 四个平台的推送。其关键字分别为:"android", "ios", "quickapp","winphone"。
使用方法,只需要在PushPayload中调用setPlatform方法。如:setPlatform(Platform.android_ios())
如需要全平台推送,只需要setPlatform(Platform.all())
|
| Platform.Builder | |
| PushPayload |
The object you should build for sending a push.
|
| PushPayload.Builder | |
| SMS |
sms_message 用于设置短信推送内容以及短信发送的延迟时间。
|
| SMS.Builder |
Copyright © 2022. All rights reserved.