Package | Description |
---|---|
com.turo.pushy.apns |
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
|
Modifier and Type | Method and Description |
---|---|
ApnsClient |
ApnsClientBuilder.build()
Constructs a new
ApnsClient with the previously-set configuration. |
Modifier and Type | Method and Description |
---|---|
void |
ApnsClientMetricsListener.handleConnectionAdded(ApnsClient apnsClient)
Indicates that the client has successfully created a new connection to the APNs server in its internal
connection pool.
|
void |
ApnsClientMetricsListener.handleConnectionCreationFailed(ApnsClient apnsClient)
Indicates that an attempt to create a new connection to the APNs server failed.
|
void |
ApnsClientMetricsListener.handleConnectionRemoved(ApnsClient apnsClient)
Indicates that the client has removed a previously-added connection from its internal connection pool.
|
void |
ApnsClientMetricsListener.handleNotificationAccepted(ApnsClient apnsClient,
long notificationId)
Indicates that a notification that was previously sent to an APNs server was accepted by the server.
|
void |
ApnsClientMetricsListener.handleNotificationRejected(ApnsClient apnsClient,
long notificationId)
Indicates that a notification that was previously sent to an APNs server was rejected by the server.
|
void |
ApnsClientMetricsListener.handleNotificationSent(ApnsClient apnsClient,
long notificationId)
Indicates that a notification was sent to the APNs server.
|
void |
ApnsClientMetricsListener.handleWriteFailure(ApnsClient apnsClient,
long notificationId)
Indicates that an attempt to send a push notification failed before the notification was processed by the APNs
server.
|
Copyright © 2013–2018 Turo. All rights reserved.