极光推送 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

用户自定义消息类型,

以及传递附属信息

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值