|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApnsPushNotification
A push notification that can be sent through the Apple Push Notification service (APNs). Push notifications have a token that identifies the device to which it should be sent, a JSON payload, and (optionally) a time at which the notification is invalid and should no longer be delivered.
TokenUtil,
ApnsPayloadBuilder| Method Summary | |
|---|---|
Date |
getDeliveryInvalidationTime()
Returns the time at which Apple's push notification service should stop trying to deliver this push notification. |
String |
getPayload()
Returns the JSON-encoded payload of this push notification. |
byte[] |
getToken()
Returns the token of the device to which this push notification is to be sent. |
| Method Detail |
|---|
byte[] getToken()
String getPayload()
Date getDeliveryInvalidationTime()
null, the push notification service will not attempt to store the notification at all. Note that APNs
will only store one notification per device token for redelivery at a time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||