Package | Description |
---|---|
com.relayrides.pushy.apns.util |
Contains classes for working with APNs tokens and payloads.
|
Modifier and Type | Method and Description |
---|---|
ApnsPayloadBuilder |
ApnsPayloadBuilder.addCustomProperty(String key,
Object value)
Adds a custom property to the payload.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setAlertBody(String alertBody)
Sets the literal text of the alert message to be shown for the push notification.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setAlertTitle(String alertTitle)
Sets a short description of the notification purpose.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setBadgeNumber(Integer badgeNumber)
Sets the number to display as the badge of the icon of the application that receives the push notification.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setCategoryName(String categoryName)
Sets the name of the action category name for interactive remote notifications.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setContentAvailable(boolean contentAvailable)
Sets whether the payload under construction should contain a flag that indicates that new content is available
to be downloaded in the background by the receiving app.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setLaunchImageFileName(String launchImageFilename)
Sets the image to be shown when the receiving app launches in response to this push notification.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setLocalizedActionButtonKey(String localizedActionButtonKey)
Sets the key of a string in the receiving app's localized string list to be used as the label of the
"action" button if the push notification is displayed as an alert.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setLocalizedAlertMessage(String localizedAlertKey,
String[] alertArguments)
Sets the key of a message in the receiving app's localized string list to be shown for the push notification.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setLocalizedAlertTitle(String localizedAlertTitleKey,
String[] alertTitleArguments)
Sets the key of the title string in the receiving app's localized string list to be shown for the push notification.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setShowActionButton(boolean showActionButton)
Sets whether an "action" button should be shown if the push notification is displayed as an alert.
|
ApnsPayloadBuilder |
ApnsPayloadBuilder.setSoundFileName(String soundFileName)
Sets the name of the sound file to play when the push notification is received.
|
Copyright © 2013–2015 RelayRides. All rights reserved.