public class PushNotificationsDeviceService
extends BaseService
| Constructor and Description |
|---|
PushNotificationsDeviceService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
addPushNotificationsDevice(java.lang.String token,
java.lang.String platform) |
org.json.JSONObject |
deletePushNotificationsDevice(long pushNotificationsDeviceId) |
org.json.JSONObject |
deletePushNotificationsDevice(java.lang.String token) |
void |
sendPushNotification(org.json.JSONArray toUserIds,
java.lang.String payload) |
void |
sendPushNotification(java.lang.String platform,
org.json.JSONArray tokens,
java.lang.String payload) |
public PushNotificationsDeviceService(Session session)
public org.json.JSONObject addPushNotificationsDevice(java.lang.String token,
java.lang.String platform)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject deletePushNotificationsDevice(long pushNotificationsDeviceId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject deletePushNotificationsDevice(java.lang.String token)
throws java.lang.Exception
java.lang.Exceptionpublic void sendPushNotification(org.json.JSONArray toUserIds,
java.lang.String payload)
throws java.lang.Exception
java.lang.Exceptionpublic void sendPushNotification(java.lang.String platform,
org.json.JSONArray tokens,
java.lang.String payload)
throws java.lang.Exception
java.lang.Exception