com.relayrides.pushy.apns
Interface RejectedNotificationListener<T extends ApnsPushNotification>


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.

Author:
Jon Chambers
See Also:
Local and Push Notification Programming Guide - Provider Communication with Apple Push Notification Service - The Binary Interface and Notification Formats, PushManager.registerRejectedNotificationListener(RejectedNotificationListener), PushManager.unregisterRejectedNotificationListener(RejectedNotificationListener)

Method Summary
 void handleRejectedNotification(PushManager<? extends T> pushManager, T notification, RejectedNotificationReason rejectionReason)
          Handles a permanent push notification rejection.
 

Method Detail

handleRejectedNotification

void handleRejectedNotification(PushManager<? extends T> pushManager,
                                T notification,
                                RejectedNotificationReason rejectionReason)
Handles a permanent push notification rejection.

Parameters:
pushManager - the push manager that sent the rejected notification
notification - the notification rejected by the APNs server
rejectionReason - the reason reported by APNs for the rejection


Copyright © 2013–2014 RelayRides. All rights reserved.