See: Description
Class | Description |
---|---|
ApnsPayloadBuilder |
A utility class for constructing JSON payloads suitable for inclusion in APNs push notifications.
|
SimpleApnsPushNotification |
A simple and immutable implementation of the
ApnsPushNotification interface. |
SSLContextUtil |
A utility class for creating SSL contexts for use with a
PushManager . |
TokenUtil |
A utility class for converting APNS device tokens between byte arrays and hexadecimal strings.
|
Exception | Description |
---|---|
MalformedTokenStringException |
Signals that a given string was not could not be parsed as an APNs token.
|
Contains classes for working with APNs tokens and payloads.
Push notification payloads are JSON strings that contain information about how the
receiving device should handle and display the notification. The
ApnsPayloadBuilder
class is a tool to construct payloads that comply with the
APNs specification.
Device tokens identify the device to which a push notification is being sent. Ultimately, tokens need to be
expressed as an array of bytes, but a common practice is to transmit tokens from a device to a push notification
provider as a string of hexadecimal characters (e.g. the output of
[NSData describe]
). The TokenUtil
class provides methods for
converting tokens between hexadecimal strings and byte arrays.
Copyright © 2013–2015 RelayRides. All rights reserved.