public interface PushService
| Modifier and Type | Method and Description |
|---|---|
String |
registerDevice(Platform platform,
String deviceToken,
String userData)
register a device with the notification service.
|
void |
sendNotification(String deviceId,
PushMessageWrapper message)
send the message to the given device
|
String registerDevice(Platform platform, String deviceToken, String userData)
platform - the platform of the devicedeviceToken - the device tokenuserData - the custom data to save with the devicevoid sendNotification(String deviceId, PushMessageWrapper message)
deviceId - the internal id of the devicemessage - the message to sendCopyright © 2016 Taimos GmbH. All rights reserved.