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

Field Summary
 
Fields inherited from class javapns.notification.Payload
logger
 
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, addCustomDictionary, asSimulationOnly, estimatePayloadSizeAfterAdding, getCharacterEncoding, getExpiry, getMaximumPayloadSize, getPayload, getPayloadAsBytes, getPayloadSize, getPreSendConfiguration, isEstimatedPayloadSizeAllowedAfterAdding, isPayloadSizeEstimatedWhenAdding, put, remove, setCharacterEncoding, setExpiry, setPayloadSizeEstimatedWhenAdding, setPreSendConfiguration, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


Copyright © 2016. All Rights Reserved.