Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
Callers will primarily interact with the
ApnsClient class to send push
ApnsClient maintains a single connection to the APNs gateway and sends notifications using
the HTTP/2-based APNs protocol. Notifications are sent asynchronously.
ApnsPushNotification interface represents a single APNs push notification
sent to a single device. A simple concrete implementation of the
SimpleApnsPushNotification) and tools for constructing push notification
payloads can be found in the
- Jon Chambers
Interface Summary Interface Description ApnsClientMetricsListenerA metrics listener receives events from an
ApnsClientthat can be used to measure the performance and behavior of the client.
ApnsPushNotificationA push notification that can be sent through the Apple Push Notification service (APNs). PushNotificationResponse<T extends ApnsPushNotification>A response from the APNs gateway indicating whether a notification was accepted or rejected.