Package | Description |
---|---|
com.relayrides.pushy.apns |
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
|
com.relayrides.pushy.apns.util |
Contains classes for working with APNs tokens and payloads.
|
Modifier and Type | Class and Description |
---|---|
class |
ApnsClient<T extends ApnsPushNotification>
An APNs client sends push notifications to the APNs gateway.
|
interface |
PushNotificationResponse<T extends ApnsPushNotification>
A response from the APNs gateway indicating whether a notification was accepted or rejected.
|
Modifier and Type | Method and Description |
---|---|
void |
ApnsClientMetricsListener.handleConnectionAttemptFailed(ApnsClient<? extends ApnsPushNotification> apnsClient)
Indicates that a previously-started connection attempt failed.
|
void |
ApnsClientMetricsListener.handleConnectionAttemptStarted(ApnsClient<? extends ApnsPushNotification> apnsClient)
Indicates that the client has started an attempt to connect to an APNs server.
|
void |
ApnsClientMetricsListener.handleConnectionAttemptSucceeded(ApnsClient<? extends ApnsPushNotification> apnsClient)
Indicates that a previously-started connection attempt completed successfully.
|
void |
ApnsClientMetricsListener.handleNotificationAccepted(ApnsClient<? extends ApnsPushNotification> apnsClient,
long notificationId)
Indicates that a notification that was previously sent to an APNs server was accepted by the server.
|
void |
ApnsClientMetricsListener.handleNotificationRejected(ApnsClient<? extends ApnsPushNotification> apnsClient,
long notificationId)
Indicates that a notification that was previously sent to an APNs server was rejected by the server.
|
void |
ApnsClientMetricsListener.handleNotificationSent(ApnsClient<? extends ApnsPushNotification> apnsClient,
long notificationId)
Indicates that a notification was sent to the APNs server.
|
void |
ApnsClientMetricsListener.handleWriteFailure(ApnsClient<? extends ApnsPushNotification> apnsClient,
long notificationId)
Indicates that an attempt to send a push notification failed before the notification was processed by the APNs
server.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleApnsPushNotification
A simple and immutable implementation of the
ApnsPushNotification interface. |
Copyright © 2013–2016 RelayRides. All rights reserved.