public static Map<String,Object> apple(String alert, String sound, Integer badgeCount, Map<String,Object> userData)
Name of a sound file to be played as an alert. This sound file should be in the mobile application bundle.
Map of key-value pairs that contains any additional data used to provide context for the notification. For example, it can contain IDs of the records that caused the notification to be sent. The mobile client app can use these IDs to display these records.
Returns a formatted payload that includes all of the specified arguments.
See the Push Notification Example.