javapns.notification
Class NewsstandNotificationPayload

java.lang.Object
  extended by javapns.notification.Payload
      extended by javapns.notification.NewsstandNotificationPayload

public class NewsstandNotificationPayload
extends Payload

A Newsstand-specific payload compatible with the Apple Push Notification Service.

Author:
Sylvain Pedneault

Method Summary
static NewsstandNotificationPayload contentAvailable()
          Create a pre-defined payload with a content-available property set to 1.
 
Methods inherited from class javapns.notification.Payload
addCustomDictionary, addCustomDictionary, addCustomDictionary, asSimulationOnly, estimatePayloadSizeAfterAdding, getCharacterEncoding, getExpiry, getMaximumPayloadSize, getPayload, getPayloadAsBytes, getPayloadSize, isEstimatedPayloadSizeAllowedAfterAdding, isPayloadSizeEstimatedWhenAdding, setCharacterEncoding, setExpiry, setPayloadSizeEstimatedWhenAdding, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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