类的使用
com.walker.push.PushResult
使用PushResult的程序包
-
com.walker.push中PushResult的使用
返回PushResult的com.walker.push中的方法修饰符和类型方法说明protected abstract PushResultAbstractPushObject.doPushContent(Notification notification, List<T> data) 执行具体推送的方法,由子类完成。protected PushResultAbstractPushManager.invokePush(Pushable pushable, Notification notification) AbstractPushManager.push(Notification notification, String pushableId) AbstractPushManager.push(List<Notification> list) AbstractPushObject.push(Notification notification) Pushable.push(Notification notification) 推送方法。PushManager.push(Notification notification, String pushableId) 推送通知,当指定了推送者id时,优先使用。PushManager.push(List<Notification> list) protected PushResultAbstractPushManager.pushOnce(List<Pushable> pushableList, Notification notification) 一次完整推送调用,默认同步实现,子类可以使用异步方式。PushManager.pushSms(Notification notification) 推送短信接口单独定义,因为平台业务中需要重新实现,包装。 -
com.walker.push.support中PushResult的使用
修饰符和类型方法说明protected PushResultAsyncPushManager.pushOnce(List<Pushable> pushableList, Notification notification) -
com.walker.push.util中PushResult的使用
修饰符和类型方法说明static final PushResultPushUtils.acquireFailedPushResult(String msg, String userId) 获得一个失败推送结果static final PushResultPushUtils.acquireSuccessPushResult()