public class PushyApnsSender 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 |
|---|
PushyApnsSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendPushMessage(Variant variant,
Collection<String> tokens,
UnifiedPushMessage pushMessage,
String pushMessageInformationId,
NotificationSenderCallback senderCallback)
Sends the
UnifiedPushMessage to the given clients, identified by a collection of tokens, the underlying push network. |
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 senderCallback)
PushNotificationSenderUnifiedPushMessage to the given clients, identified by a collection of tokens, the underlying push network.sendPushMessage in interface PushNotificationSendervariant - contains details for the underlying push network, e.g. API Keys/Idstokens - platform specific collection of client identifierspushMessage - payload to be send to the given clientspushMessageInformationId - the id of the FlatPushMessageInformation instance associated with this send.senderCallback - invoked after submitting the request to the underlying push network to indicate the status
of the request (success or errorCopyright © 2018 JBoss by Red Hat. All rights reserved.