public abstract class PlatformNotification extends Object implements PushModel
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PlatformNotification.Builder<T extends PlatformNotification,B extends PlatformNotification.Builder<T,B>> |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALERT |
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
PlatformNotification(Object alert,
Map<String,String> extras,
Map<String,Number> numberExtras,
Map<String,Boolean> booleanExtras,
Map<String,com.google.gson.JsonObject> jsonExtras) |
PlatformNotification(Object alert,
Map<String,String> extras,
Map<String,Number> numberExtras,
Map<String,Boolean> booleanExtras,
Map<String,com.google.gson.JsonObject> jsonExtras,
Map<String,com.google.gson.JsonPrimitive> customData) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getAlert() |
protected abstract String |
getPlatform() |
protected void |
setAlert(Object alert) |
com.google.gson.JsonElement |
toJSON() |
public static final String ALERT
protected static final org.slf4j.Logger LOG
Copyright © 2020. All rights reserved.