极光推送 java api_JPush极光推送Java服务器端API
方法名稱參數列表(必須)方法說明
setEnableSSL
boolean enableSSL (true為使用ssl, 默認為不使用ssl)
是否啟動ssl安全連接
sendNotificationWithImei
int sendNo(發送編號),
String imei (IMEI字符串) ,
String msgTitle (消息標題/通知標題)?,
String msgContent (消息內容/通知內容)
發送帶IMEI的通知
sendNotificationWithImei
int sendNo ,
String imei ,
String msgTitle?,
String msgContent?,
int builderId (自定義通知欄樣式Id) ,
Mapextra (附屬信息)
自定義通知欄(沒有則填寫0)
以及傳遞附屬信息
sendCustomMessageWithImei
int sendNo ,
String imei ,
String msgTitle?,
String msgContent
發送帶IMEI的消息
sendCustomMessageWithImei
int sendNo ,
String imei ,
String msgTitle?,
String msgContent,
String msgContentType (消息內容類型,原樣返回),
Map extra
用戶自定義消息類型,
以及傳遞附屬信息
sendNotificationWithTag
int sendNo ,
String tag (Tag字符串) ,
String msgTitle?,
String msgContent
發送帶Tag的通知
sendNotificationWithTag
int sendNo ,
String tag ,
String msgTitle?,
String msgContent ,
int builderId ,
Mapextra
自定義通知欄(沒有則填寫0)
以及傳遞附屬信息
sendCustomMessageWithTag
int sendNo ,
String tag ,
String msgTitle?,
String msgContent
發送帶Tag的消息
sendCustomMessageWithTag
int sendNo ,
String tag ,
String msgTitle?,
String msgContent ,
String msgContentType ,
Map extra
用戶自定義消息類型,
以及傳遞附屬信息
sendNotificationWithAlias
int sendNo ,
String alias (Alias字符串) ,
String msgTitle?,
String msgContent
發送帶Alias的通知
sendNotificationWithAlias
int sendNo ,
String alias (Alias字符串) ,
String msgTitle?,
String msgContent ,
int builderId ,
Mapextra
自定義通知欄(沒有則填寫0)
以及傳遞附屬信息
sendCustomMessageWithAlias
int sendNo ,
String alias ,
String msgTitle?,
String msgContent
發送帶Alias的消息
sendCustomMessageWithAlias
int sendNo ,
String alias ,
String msgTitle?,
String msgContent ,
String msgContentType ,
Map extra
用戶自定義消息類型,
以及傳遞附屬信息
sendNotificationWithAppKey
int sendNo ,
String msgTitle?,
String msgContent
發送通知給AppKey的所有用戶
sendNotificationWithAppKey
int sendNo ,
String msgTitle?,
String msgContent ,
int builderId ,
Mapextra
自定義通知欄(沒有則填寫0)
以及傳遞附屬信息
sendCustomMessageWithAppKey
int sendNo ,
String msgTitle?,
String msgContent
發送帶AppKey的消息
sendCustomMessageWithAppKey
int sendNo ,
String msgTitle?,
String msgContent ,
String msgContentType ,
Map extra
用戶自定義消息類型,
以及傳遞附屬信息
總結
以上是生活随笔為你收集整理的极光推送 java api_JPush极光推送Java服务器端API的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 字符串匹配算法_4月16日活动预告|字符
- 下一篇: 量子信息 量子编程