Class BatchPushData

java.lang.Object
com.batch.android.BatchPushData

@Deprecated public class BatchPushData extends Object
Deprecated.
Convenience object to retrieve Batch data out of a Batch Push intent
  • Constructor Details

  • Method Details

    • hasDeeplink

      @Deprecated public boolean hasDeeplink()
      Deprecated.
      Does this push contains a deeplink
      Returns:
      true if this push contains a deeplink, false otherwise
    • getDeeplink

      @Deprecated public String getDeeplink()
      Deprecated.
      Get the deeplink url contained in this push.
      You should always check if the push contains a deeplink using hasDeeplink()
      Returns:
      the deeplink if any, null otherwise
    • hasCustomLargeIcon

      @Deprecated public boolean hasCustomLargeIcon()
      Deprecated.
      Does this push contains a custom large icon
      Returns:
      true if this push contains a custom large icon to download, false otherwise
    • getCustomLargeIconURL

      @Deprecated public String getCustomLargeIconURL()
      Deprecated.
      Get the custom large icon url contained in this push.
      You should always check if the push contains a custom large icon using hasCustomLargeIcon().

      The url returned by this method is already optimized for the device, you have to download the image and use it in the notification
      Returns:
      the custom large icon url if any, null otherwise
    • hasBigPicture

      @Deprecated public boolean hasBigPicture()
      Deprecated.
      Does this push contains a big picture
      Returns:
      true if this push contains a big picture to download, false otherwise
    • getBigPictureURL

      @Deprecated public String getBigPictureURL()
      Deprecated.
      Get the big picture url contained in this push.
      You should always check if the push contains a big picture using hasBigPicture().

      The url returned by this method is already optimized for the device, you have to download the image and use it in the notification
      Returns:
      the big picture url if any, null otherwise