cn.jpush.api.push.model.notification
类 PlatformNotification.Builder<T>

java.lang.Object
  继承者 cn.jpush.api.push.model.notification.PlatformNotification.Builder<T>
直接已知子类:
AndroidNotification.Builder, IosNotification.Builder, WinphoneNotification.Builder
包容类:
PlatformNotification

protected abstract static class PlatformNotification.Builder<T>
extends Object


字段摘要
protected  String alert
           
protected  Map<String,Boolean> booleanExtrasBuilder
           
protected  Map<String,String> extrasBuilder
           
protected  Map<String,com.google.gson.JsonObject> jsonExtrasBuilder
           
protected  Map<String,Number> numberExtrasBuilder
           
 
构造方法摘要
protected PlatformNotification.Builder()
           
 
方法摘要
 PlatformNotification.Builder<T> addExtra(String key, Boolean value)
           
 PlatformNotification.Builder<T> addExtra(String key, com.google.gson.JsonObject value)
           
 PlatformNotification.Builder<T> addExtra(String key, Number value)
           
 PlatformNotification.Builder<T> addExtra(String key, String value)
           
 PlatformNotification.Builder<T> addExtras(Map<String,String> extras)
           
abstract  T build()
           
abstract  PlatformNotification.Builder<T> setAlert(String alert)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

alert

protected String alert

extrasBuilder

protected Map<String,String> extrasBuilder

numberExtrasBuilder

protected Map<String,Number> numberExtrasBuilder

booleanExtrasBuilder

protected Map<String,Boolean> booleanExtrasBuilder

jsonExtrasBuilder

protected Map<String,com.google.gson.JsonObject> jsonExtrasBuilder
构造方法详细信息

PlatformNotification.Builder

protected PlatformNotification.Builder()
方法详细信息

setAlert

public abstract PlatformNotification.Builder<T> setAlert(String alert)

addExtra

public PlatformNotification.Builder<T> addExtra(String key,
                                                String value)

addExtras

public PlatformNotification.Builder<T> addExtras(Map<String,String> extras)

addExtra

public PlatformNotification.Builder<T> addExtra(String key,
                                                Number value)

addExtra

public PlatformNotification.Builder<T> addExtra(String key,
                                                Boolean value)

addExtra

public PlatformNotification.Builder<T> addExtra(String key,
                                                com.google.gson.JsonObject value)

build

public abstract T build()


Copyright © 2014. All Rights Reserved.