| Package | Description |
|---|---|
| javapns |
The JavaPNS library
|
| javapns.notification |
Classes for pushing notifications through Apple servers.
|
| javapns.notification.transmission |
Specialized classes for transmitting notifications to large number of devices.
|
| Modifier and Type | Method and Description |
|---|---|
static PushedNotifications |
Push.alert(String message,
Object keystore,
String password,
boolean production,
Object devices)
Push a simple alert to one or more devices.
|
static PushedNotifications |
Push.badge(int badge,
Object keystore,
String password,
boolean production,
Object devices)
Push a simple badge number to one or more devices.
|
static PushedNotifications |
Push.combined(String message,
int badge,
String sound,
Object keystore,
String password,
boolean production,
Object devices)
Push a notification combining an alert, a badge and a sound.
|
static PushedNotifications |
Push.contentAvailable(Object keystore,
String password,
boolean production,
Object devices)
Push a content-available notification for Newsstand.
|
static PushedNotifications |
Push.payload(Payload payload,
Object keystore,
String password,
boolean production,
int numberOfThreads,
Object devices)
Push a preformatted payload to a list of devices using multiple simulatenous threads (and connections).
|
static PushedNotifications |
Push.payload(Payload payload,
Object keystore,
String password,
boolean production,
Object devices)
Push a preformatted payload to a list of devices.
|
static PushedNotifications |
Push.payloads(Object keystore,
String password,
boolean production,
int numberOfThreads,
Object payloadDevicePairs)
Push a different preformatted payload for each device using multiple simulatenous threads (and connections).
|
static PushedNotifications |
Push.payloads(Object keystore,
String password,
boolean production,
Object payloadDevicePairs)
Push a different preformatted payload for each device.
|
static PushedNotifications |
Push.sound(String sound,
Object keystore,
String password,
boolean production,
Object devices)
Push a simple sound name to one or more devices.
|
static PushedNotifications |
Push.test(Object keystore,
String password,
boolean production,
Object devices)
Push a special test notification with an alert message containing useful debugging information.
|
| Modifier and Type | Method and Description |
|---|---|
PushedNotifications |
PushedNotifications.getFailedNotifications()
Filter a list of pushed notifications and return only the ones that failed.
|
PushedNotifications |
PushedNotifications.getSuccessfulNotifications()
Filter a list of pushed notifications and return only the ones that were successful.
|
PushedNotifications |
PushNotificationManager.sendNotifications(Payload payload,
Device... devices)
Send a notification to a multiple devices in a single connection and close the connection.
|
PushedNotifications |
PushNotificationManager.sendNotifications(Payload payload,
List<Device> devices)
Send a notification to a multiple devices in a single connection and close the connection.
|
| Modifier and Type | Method and Description |
|---|---|
PushedNotifications |
NotificationThreads.getFailedNotifications()
Get a list of all notifications that all threads attempted to push but that failed.
|
PushedNotifications |
NotificationThread.getFailedNotifications()
Returns list of all notifications that this thread attempted to push but that failed.
|
PushedNotifications |
PushQueue.getPushedNotifications()
Get a list of all notifications pushed through this queue.
|
PushedNotifications |
NotificationThreads.getPushedNotifications()
Get a list of all notifications pushed by all threads.
|
PushedNotifications |
NotificationThread.getPushedNotifications()
Returns list of all notifications pushed by this thread (successful or not).
|
PushedNotifications |
NotificationThreads.getSuccessfulNotifications()
Get a list of all notifications that all threads attempted to push and succeeded.
|
PushedNotifications |
NotificationThread.getSuccessfulNotifications()
Returns list of all notifications that this thread attempted to push and succeeded.
|
Copyright © 2016. All rights reserved.