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
| 从类 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.