public interface RejectedNotificationListener<T extends ApnsPushNotification>
Listens for permanent push notification rejections. Listeners will be informed when the APNs server permanently rejects a notification for a specific reason. Listeners are not notified of temporary delivery issues.
PushManager.registerRejectedNotificationListener(RejectedNotificationListener)
,
PushManager.unregisterRejectedNotificationListener(RejectedNotificationListener)
Modifier and Type | Method and Description |
---|---|
void |
handleRejectedNotification(PushManager<? extends T> pushManager,
T notification,
RejectedNotificationReason rejectionReason)
Handles a permanent push notification rejection.
|
void handleRejectedNotification(PushManager<? extends T> pushManager, T notification, RejectedNotificationReason rejectionReason)
pushManager
- the push manager that sent the rejected notificationnotification
- the notification rejected by the APNs serverrejectionReason
- the reason reported by APNs for the rejectionCopyright © 2013–2015 RelayRides. All rights reserved.