- build
Returns the JSON String representation of the payload according to Apple APNS
specification
- alertBody
Sets the alert body text, the text the appears to the user, to the passed value
- shrinkBody
Shrinks the alert message body so that the resulting payload message fits within
require Apple speci
- <init>
- actionKey
Sets the value of action button (the right button to be displayed). The default
value is "View". The
- badge
Sets the notification badge to be displayed next to the application icon. The
passed value is the va
- buildBytes
Returns the bytes representation of the payload according to Apple APNS
specification
- copy
Returns a copy of this builder
- customField
Sets any application-specific custom fields. The values are presented to the
application and the iPh
- instantDeliveryOrSilentNotification
- isTooLong
Returns true if the payload built so far is larger than the size permitted by
Apple (which is 256 by
- length
Returns the length of payload bytes once marshaled to bytes