Package com.eatthepath.pushy.apns
package com.eatthepath.pushy.apns
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
Callers will primarily interact with the ApnsClient
class to send push
notifications. An ApnsClient
maintains a single connection to the APNs gateway and sends notifications using
the HTTP/2-based APNs protocol. Notifications are sent asynchronously.
The ApnsPushNotification
interface represents a single APNs push notification
sent to a single device. A simple concrete implementation of the ApnsPushNotification
interface
(SimpleApnsPushNotification
) and tools for constructing push notification
payloads can be found in the com.eatthepath.pushy.apns.util
package.
- Author:
- Jon Chambers
-
ClassDescriptionAn APNs client sends push notifications to the APNs gateway.An
ApnsClientBuilder
constructs newApnsClient
instances.A metrics listener receives events from anApnsClient
that can be used to measure the performance and behavior of the client.A push notification that can be sent through the Apple Push Notification service (APNs).An enumeration of delivery priorities for APNs push notifications.PushNotificationResponse<T extends ApnsPushNotification>A response from the APNs gateway indicating whether a notification was accepted or rejected.An enumeration of push notification display types.