类 cn.jpush.api.push.model.notification.Notification
的使用

使用 Notification 的软件包
cn.jpush.api.push.model   
cn.jpush.api.push.model.notification   
 

cn.jpush.api.push.modelNotification 的使用
 

参数类型为 Notificationcn.jpush.api.push.model 中的方法
 PushPayload.Builder PushPayload.Builder.setNotification(Notification notification)
           
 

cn.jpush.api.push.model.notificationNotification 的使用
 

返回 Notificationcn.jpush.api.push.model.notification 中的方法
static Notification Notification.alert(String alert)
          Quick set all platform alert.
static Notification Notification.android(String alert, String title, Map<String,String> extras)
          shortcut
 Notification Notification.Builder.build()
           
static Notification Notification.ios_auto_badge()
          shortcut
static Notification Notification.ios_incr_badge(int badge)
          shortcut
static Notification Notification.ios_set_badge(int badge)
          shortcut
static Notification Notification.ios(String alert, Map<String,String> extras)
          shortcut
static Notification Notification.winphone(String alert, Map<String,String> extras)
          shortcut
 



Copyright © 2014. All Rights Reserved.