Class WinphoneNotification
- java.lang.Object
-
- cn.jpush.api.push.model.notification.PlatformNotification
-
- cn.jpush.api.push.model.notification.WinphoneNotification
-
- All Implemented Interfaces:
PushModel
public class WinphoneNotification extends PlatformNotification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWinphoneNotification.Builder
-
Field Summary
-
Fields inherited from class cn.jpush.api.push.model.notification.PlatformNotification
ALERT, LOG
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WinphoneNotificationalert(java.lang.String alert)java.lang.StringgetPlatform()static WinphoneNotification.BuildernewBuilder()com.google.gson.JsonElementtoJSON()-
Methods inherited from class cn.jpush.api.push.model.notification.PlatformNotification
getAlert, setAlert
-
-
-
-
Method Detail
-
newBuilder
public static WinphoneNotification.Builder newBuilder()
-
alert
public static WinphoneNotification alert(java.lang.String alert)
-
getPlatform
public java.lang.String getPlatform()
- Specified by:
getPlatformin classPlatformNotification
-
toJSON
public com.google.gson.JsonElement toJSON()
- Specified by:
toJSONin interfacePushModel- Overrides:
toJSONin classPlatformNotification
-
-