See: Description
Interface | Description |
---|---|
ApnsClientMetricsListener |
A metrics listener receives events from an
ApnsClient that can be used to measure the performance and
behavior of the client. |
ApnsPushNotification |
A 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.
|
Class | Description |
---|---|
ApnsClient<T extends ApnsPushNotification> |
An APNs client sends push notifications to the APNs gateway.
|
Enum | Description |
---|---|
DeliveryPriority |
An enumeration of delivery priorities for APNs push notifications.
|
Exception | Description |
---|---|
ClientNotConnectedException |
An exception thrown to indicate that a notification could not be sent because the client was not connected.
|
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.relayrides.pushy.apns.util
package.
Copyright © 2013–2016 RelayRides. All rights reserved.