本文整理汇总了Java中cn.jpush.api.push.model.PushPayload.alertAll方法的典型用法代码示例。如果您正苦于以下问题:Java PushPayload.alertAll方法的具体用法?Java PushPayload.alertAll怎么用?Java PushPayload.alertAll使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类cn.jpush.api.push.model.PushPayload
的用法示例。
在下文中一共展示了PushPayload.alertAll方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: buildPushObject_all_all_alert
import cn.jpush.api.push.model.PushPayload; //导入方法依赖的package包/类
public static PushPayload buildPushObject_all_all_alert() {
return PushPayload.alertAll(ALERT);
}
示例2: sendNotificationAll
import cn.jpush.api.push.model.PushPayload; //导入方法依赖的package包/类
public PushResult sendNotificationAll(String alert) throws APIConnectionException, APIRequestException {
PushPayload payload = PushPayload.alertAll(alert);
return _pushClient.sendPush(payload);
}
示例3: sendNotificationAll
import cn.jpush.api.push.model.PushPayload; //导入方法依赖的package包/类
/**
* Shortcut
*/
public PushResult sendNotificationAll(String alert) throws APIConnectionException, APIRequestException {
PushPayload payload = PushPayload.alertAll(alert);
return _pushClient.sendPush(payload);
}
示例4: buildPushObject_all_all_alert
import cn.jpush.api.push.model.PushPayload; //导入方法依赖的package包/类
public static PushPayload buildPushObject_all_all_alert() {
return PushPayload.alertAll(ALERT);
}
示例5: buildPushObject_all_all_alert
import cn.jpush.api.push.model.PushPayload; //导入方法依赖的package包/类
/**
* 快捷地构建推送对象:所有平台,所有设备,内容为 ALERT 的通知。
*
* @param alert
* @return
*/
public static PushPayload buildPushObject_all_all_alert(String alert)
{
return PushPayload.alertAll(alert);
}