javapns.notification
Class NewsstandNotificationPayload
java.lang.Object
javapns.notification.Payload
javapns.notification.NewsstandNotificationPayload
public class NewsstandNotificationPayload
- extends Payload
A Newsstand-specific payload compatible with the Apple Push Notification Service.
- Author:
- Sylvain Pedneault
Methods inherited from class javapns.notification.Payload |
addCustomDictionary, addCustomDictionary, addCustomDictionary, asSimulationOnly, estimatePayloadSizeAfterAdding, getCharacterEncoding, getExpiry, getMaximumPayloadSize, getPayload, getPayloadAsBytes, getPayloadSize, isEstimatedPayloadSizeAllowedAfterAdding, isPayloadSizeEstimatedWhenAdding, setCharacterEncoding, setExpiry, setPayloadSizeEstimatedWhenAdding, toString |
contentAvailable
public static NewsstandNotificationPayload contentAvailable()
- Create a pre-defined payload with a content-available property set to 1.
- Returns:
- a ready-to-send newsstand payload