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)

Method Summary
 void handleRejectedNotification(T notification, RejectedNotificationException cause)
          Handles a permanent push notification rejection.
 

Method Detail

handleRejectedNotification

void handleRejectedNotification(T notification,
                                RejectedNotificationException cause)
Handles a permanent push notification rejection.

Parameters:
notification - the notification rejected by the APNs server
cause - the cause reported by APNs for the rejection


Copyright © 2013 RelayRides. All rights reserved.