cn.jpush.api.push.model.notification
类 PlatformNotification

java.lang.Object
  继承者 cn.jpush.api.push.model.notification.PlatformNotification
所有已实现的接口:
PushModel
直接已知子类:
AndroidNotification, IosNotification, WinphoneNotification

public abstract class PlatformNotification
extends Object
implements PushModel


嵌套类摘要
protected static class PlatformNotification.Builder<T>
           
 
字段摘要
static String ALERT
           
protected static org.slf4j.Logger LOG
           
 
构造方法摘要
PlatformNotification(String alert, Map<String,String> extras, Map<String,Number> numberExtras, Map<String,Boolean> booleanExtras, Map<String,com.google.gson.JsonObject> jsonExtras)
           
 
方法摘要
protected  String getAlert()
           
protected abstract  String getPlatform()
           
protected  void setAlert(String alert)
           
 com.google.gson.JsonElement toJSON()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ALERT

public static final String ALERT
另请参见:
常量字段值

LOG

protected static final org.slf4j.Logger LOG
构造方法详细信息

PlatformNotification

public PlatformNotification(String alert,
                            Map<String,String> extras,
                            Map<String,Number> numberExtras,
                            Map<String,Boolean> booleanExtras,
                            Map<String,com.google.gson.JsonObject> jsonExtras)
方法详细信息

toJSON

public com.google.gson.JsonElement toJSON()
指定者:
接口 PushModel 中的 toJSON

getAlert

protected String getAlert()

setAlert

protected void setAlert(String alert)

getPlatform

protected abstract String getPlatform()


Copyright © 2014. All Rights Reserved.