Package | Description |
---|---|
com.notnoop.apns |
Modifier and Type | Method and Description |
---|---|
PayloadBuilder |
PayloadBuilder.actionKey(String actionKey)
Sets the value of action button (the right button to be
displayed).
|
PayloadBuilder |
PayloadBuilder.alertAction(String action)
Sets the alert action text
|
PayloadBuilder |
PayloadBuilder.alertBody(String alert)
Sets the alert body text, the text the appears to the user,
to the passed value
|
PayloadBuilder |
PayloadBuilder.alertTitle(String title)
Sets the alert title text, the text the appears to the user,
to the passed value.
|
PayloadBuilder |
PayloadBuilder.badge(int badge)
Sets the notification badge to be displayed next to the
application icon.
|
PayloadBuilder |
PayloadBuilder.category(String category)
Sets the category of the notification for iOS8 notification
actions.
|
PayloadBuilder |
PayloadBuilder.clearBadge()
Requests clearing of the badge number next to the application
icon.
|
PayloadBuilder |
PayloadBuilder.copy()
Returns a copy of this builder
|
PayloadBuilder |
PayloadBuilder.customField(String key,
Object value)
Sets any application-specific custom fields.
|
PayloadBuilder |
PayloadBuilder.customFields(Map<String,?> values)
Set any application-specific custom fields.
|
PayloadBuilder |
PayloadBuilder.forNewsstand()
Sets the notification type to be a 'newstand' notification.
|
PayloadBuilder |
PayloadBuilder.instantDeliveryOrSilentNotification()
With iOS7 it is possible to have the application wake up before the user opens the app.
|
PayloadBuilder |
PayloadBuilder.launchImage(String launchImage)
Sets the launch image file for the push notification
|
PayloadBuilder |
PayloadBuilder.localizedArguments(Collection<String> arguments)
Sets the arguments for the alert message localizable message.
|
PayloadBuilder |
PayloadBuilder.localizedArguments(String... arguments)
Sets the arguments for the alert message localizable message.
|
PayloadBuilder |
PayloadBuilder.localizedKey(String key)
Set the notification localized key for the alert body
message.
|
PayloadBuilder |
PayloadBuilder.localizedTitleArguments(Collection<String> arguments)
Sets the arguments for the localizable title key.
|
PayloadBuilder |
PayloadBuilder.localizedTitleArguments(String... arguments)
Sets the arguments for the localizable title key.
|
PayloadBuilder |
PayloadBuilder.localizedTitleKey(String key)
The key to a title string in the Localizable.strings file for the current localization.
|
PayloadBuilder |
PayloadBuilder.mdm(String s) |
static PayloadBuilder |
PayloadBuilder.newPayload() |
static PayloadBuilder |
APNS.newPayload()
Returns a new Payload builder
|
PayloadBuilder |
PayloadBuilder.noActionButton()
Set the notification view to display an action button.
|
PayloadBuilder |
PayloadBuilder.resizeAlertBody(int payloadLength)
Shrinks the alert message body so that the resulting payload
message fits within the passed expected payload length.
|
PayloadBuilder |
PayloadBuilder.resizeAlertBody(int payloadLength,
String postfix)
Shrinks the alert message body so that the resulting payload
message fits within the passed expected payload length.
|
PayloadBuilder |
PayloadBuilder.shrinkBody()
Shrinks the alert message body so that the resulting payload
message fits within require Apple specification (2048 bytes).
|
PayloadBuilder |
PayloadBuilder.shrinkBody(String postfix)
Shrinks the alert message body so that the resulting payload
message fits within require Apple specification (2048 bytes).
|
PayloadBuilder |
PayloadBuilder.sound(String sound)
Sets the alert sound to be played.
|
PayloadBuilder |
PayloadBuilder.urlArgs(String... urlArgs)
Sets the "url-args" key that are paired with the placeholders
inside the urlFormatString value of your website.json file.
|
Copyright © 2015. All rights reserved.