方法名称参数列表(必须)方法说明
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
用户自定义消息类型,
以及传递附属信息