public class MicrosoftPushNotificationsSender
extends java.lang.Object
implements com.liferay.push.notifications.sender.PushNotificationsSender
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLATFORM |
Constructor and Description |
---|
MicrosoftPushNotificationsSender() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate() |
protected org.jboss.aerogear.windows.mpns.notifications.TileNotification |
buildTileNotification(java.lang.String from,
java.lang.String body,
java.lang.String attributes) |
protected org.jboss.aerogear.windows.mpns.notifications.ToastNotification |
buildToastNotification(java.lang.String from,
java.lang.String body,
java.lang.String attributes) |
protected void |
deactivate() |
protected java.lang.String |
getAttributes(com.liferay.portal.kernel.json.JSONObject payloadJSONObject) |
void |
send(java.util.List<java.lang.String> tokens,
com.liferay.portal.kernel.json.JSONObject payloadJSONObject) |
public static final java.lang.String PLATFORM
public void send(java.util.List<java.lang.String> tokens, com.liferay.portal.kernel.json.JSONObject payloadJSONObject) throws java.lang.Exception
send
in interface com.liferay.push.notifications.sender.PushNotificationsSender
java.lang.Exception
protected void activate()
protected org.jboss.aerogear.windows.mpns.notifications.TileNotification buildTileNotification(java.lang.String from, java.lang.String body, java.lang.String attributes)
protected org.jboss.aerogear.windows.mpns.notifications.ToastNotification buildToastNotification(java.lang.String from, java.lang.String body, java.lang.String attributes)
protected void deactivate()
protected java.lang.String getAttributes(com.liferay.portal.kernel.json.JSONObject payloadJSONObject)