T
- the type of push notificationpublic interface PushNotificationResponse<T extends ApnsPushNotification>
Modifier and Type | Method and Description |
---|---|
T |
getPushNotification()
Returns the original push notification sent to the APNs gateway.
|
String |
getRejectionReason()
Returns the reason for rejection reported by the APNs gateway.
|
Date |
getTokenInvalidationTimestamp()
If the sent push notification was rejected because the destination token is no longer valid, returns the most
recent time at which the APNs gateway confirmed that the token is no longer valid.
|
boolean |
isAccepted()
Indicates whether the push notification was accepted by the APNs gateway.
|
T getPushNotification()
boolean isAccepted()
true
if the push notification was accepted or false
if it was rejectedString getRejectionReason()
null
.null
if the notification was not
rejectedDate getTokenInvalidationTimestamp()
null
if the push
notification was either accepted or rejected for a reason other than token invalidationCopyright © 2013–2016 RelayRides. All rights reserved.