public class APNsPushNotificationSender extends Object implements PushNotificationSender
| Modifier and Type | Field and Description |
|---|---|
static String |
CUSTOM_AEROGEAR_APNS_PUSH_HOST |
static String |
CUSTOM_AEROGEAR_APNS_PUSH_PORT |
| Constructor and Description |
|---|
APNsPushNotificationSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendPushMessage(Variant variant,
Collection<String> tokens,
UnifiedPushMessage pushMessage,
String pushMessageInformationId,
NotificationSenderCallback callback)
Sends APNs notifications (
UnifiedPushMessage) to all devices, that are represented by
the Collection of tokens for the given iOSVariant. |
public static final String CUSTOM_AEROGEAR_APNS_PUSH_HOST
public static final String CUSTOM_AEROGEAR_APNS_PUSH_PORT
public void sendPushMessage(Variant variant, Collection<String> tokens, UnifiedPushMessage pushMessage, String pushMessageInformationId, NotificationSenderCallback callback)
UnifiedPushMessage) to all devices, that are represented by
the Collection of tokens for the given iOSVariant.sendPushMessage in interface PushNotificationSendervariant - contains details for the underlying push network, e.g. API Keys/Idstokens - contains the list of tokens that identifies the installation to which the message will be sentpushMessage - payload to be send to the given clientspushMessageInformationId - the id of the PushMessageInformation instance associated with this send.callback - that will be invoked after the sending.Copyright © 2016 JBoss by Red Hat. All Rights Reserved.