| Package | Description |
|---|---|
| javapns.notification |
Classes for pushing notifications through Apple servers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PushNotificationBigPayload |
| Modifier and Type | Method and Description |
|---|---|
static PushNotificationPayload |
PushNotificationPayload.alert(String message)
Create a pre-defined payload with a simple alert message.
|
static PushNotificationPayload |
PushNotificationPayload.badge(int badge)
Create a pre-defined payload with a badge.
|
static PushNotificationPayload |
PushNotificationPayload.combined(String message,
int badge,
String sound)
Create a pre-defined payload with a simple alert message, a badge and a sound.
|
static PushNotificationPayload |
PushNotificationPayload.complex()
Create an empty payload which you can configure later.
|
static PushNotificationPayload |
PushNotificationPayload.fromJSON(String rawJSON)
Create a PushNotificationPayload object from a preformatted JSON payload.
|
static PushNotificationPayload |
PushNotificationPayload.sound(String sound)
Create a pre-defined payload with a sound name.
|
static PushNotificationPayload |
PushNotificationPayload.test()
Create a special payload with a useful debugging alert message.
|
Copyright © 2016. All rights reserved.