Package com.relayrides.pushy.apns

Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).

See:
          Description

Interface Summary
ApnsPushNotification A push notification that can be sent through the Apple Push Notification service (APNs).
RejectedNotificationListener<T extends ApnsPushNotification> Listens for permanent push notification rejections.
 

Class Summary
ApnsEnvironment An APNs environment is a set of servers that provide push notification services.
ExpiredToken Represents a device token that the APN Feedback Service has reported as expired.
PushManager<T extends ApnsPushNotification> A PushManager is the main public-facing point of interaction with APNs.
SendableApnsPushNotification<T extends ApnsPushNotification> Represents a push notification wrapped with transmission-related metadata ready to be sent to an APNs server.
 

Enum Summary
RejectedNotificationReason An enumeration of error codes that may be returned by APNs to indicate why a push notification was rejected.
 

Exception Summary
RejectedNotificationException Indicates that a notification was definitively rejected by APNs for a specific reason.
 

Package com.relayrides.pushy.apns Description

Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).

The PushManager class is the main public-facing class in Pushy. A PushManager manages connections to APNs and manages the queue of outbound notifications. Generally, Pushy users should create a single long-lived PushManager instance per "topic" (or receiving app) and use it throughout the lifetime of their provider application.

The ApnsPushNotification interface represents a single APNs push notification sent to a single device. A simple concrete implementation of the ApnsPushNotification interface and tools for constructing push notification payloads can be found in the com.relayrides.pushy.apns.util package.

Author:
Jon Chambers


Copyright © 2013 RelayRides. All rights reserved.