javapns.notification
Class PushNotificationBigPayload
java.lang.Object
javapns.notification.Payload
javapns.notification.PushNotificationPayload
javapns.notification.PushNotificationBigPayload
public class PushNotificationBigPayload
- extends PushNotificationPayload
| Methods inherited from class javapns.notification.PushNotificationPayload |
addAlert, addBadge, addCategory, addCustomAlertActionLocKey, addCustomAlertBody, addCustomAlertLaunchImage, addCustomAlertLocArgs, addCustomAlertLocKey, addCustomAlertSubtitle, addCustomAlertTitle, addCustomAlertTitleLocArgs, addCustomAlertTitleLocKey, addSound, alert, badge, combined, setContentAvailable, setMutableContent, sound, test |
| Methods inherited from class javapns.notification.Payload |
addCustomDictionary, addCustomDictionary, addCustomDictionary, addCustomDictionary, asSimulationOnly, estimatePayloadSizeAfterAdding, getCharacterEncoding, getExpiry, getPayload, getPayloadAsBytes, getPayloadSize, getPreSendConfiguration, isEstimatedPayloadSizeAllowedAfterAdding, isPayloadSizeEstimatedWhenAdding, put, remove, setCharacterEncoding, setExpiry, setPayloadSizeEstimatedWhenAdding, setPreSendConfiguration, toString |
PushNotificationBigPayload
public PushNotificationBigPayload()
PushNotificationBigPayload
public PushNotificationBigPayload(String rawJSON)
throws JSONException
- Throws:
JSONException
getMaximumPayloadSize
public int getMaximumPayloadSize()
- Return the maximum payload size in bytes.
For APNS payloads, since iOS8, this method returns 2048.
- Overrides:
getMaximumPayloadSize in class PushNotificationPayload
- Returns:
- the maximum payload size in bytes (2048)
complex
public static PushNotificationBigPayload complex()
fromJSON
public static PushNotificationBigPayload fromJSON(String rawJSON)
throws JSONException
- Throws:
JSONException
Copyright © 2016. All Rights Reserved.