接口的使用
com.walker.push.Pushable
使用Pushable的程序包
-
com.walker.push中Pushable的使用
实现Pushable的com.walker.push中的类返回Pushable的com.walker.push中的方法修饰符和类型方法说明AbstractPushManager.getPushObject(String id) PushManager.getPushObject(String id) 根据索引值,获取推送者对象。返回变量类型为Pushable的类型的com.walker.push中的方法修饰符和类型方法说明AbstractPushManager.getPushList()AbstractPushManager.getPushList(NotificationChannel channel) PushManager.getPushList()返回已注册的推送对象集合。PushManager.getPushList(NotificationChannel channel) 根据通道类型,返回该类型下推送对象(集合),可能会存在多个。参数类型为Pushable的com.walker.push中的方法修饰符和类型方法说明protected PushResultAbstractPushManager.invokePush(Pushable pushable, Notification notification) voidvoid类型变量类型为Pushable的com.walker.push中的方法参数修饰符和类型方法说明protected PushResultAbstractPushManager.pushOnce(List<Pushable> pushableList, Notification notification) 一次完整推送调用,默认同步实现,子类可以使用异步方式。 -
com.walker.push.support中Pushable的使用
类型变量类型为Pushable的com.walker.push.support中的方法参数修饰符和类型方法说明protected PushResultAsyncPushManager.pushOnce(List<Pushable> pushableList, Notification notification)