All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javapns.notification.PushNotificationBigPayload Maven / Gradle / Ivy

The newest version!
package javapns.notification;

import org.json.JSONException;

/**
 * @deprecated The maximum payload length of PushNotificationPayload has been changed to 4000. Use {@link PushNotificationPayload instead}
 */
@Deprecated
public class PushNotificationBigPayload extends PushNotificationPayload {

  private PushNotificationBigPayload() {
    super();
  }

  private PushNotificationBigPayload(final String rawJSON) throws JSONException {
    super(rawJSON);
  }

  /**
   * @deprecated Use {@link PushNotificationPayload#complex}
   */
  @Deprecated
  public static PushNotificationBigPayload complex() {
    return new PushNotificationBigPayload();
  }

  /**
   * @deprecated Use {@link PushNotificationPayload#fromJSON(String)}
   */
  @Deprecated
  public static PushNotificationBigPayload fromJSON(final String rawJSON) throws JSONException {
    return new PushNotificationBigPayload(rawJSON);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy