Package 

Class JSONPostDataProvider

    • Method Summary

      Modifier and Type Method Description
      String getContentType() Get the content type of the data
      boolean isEmpty() Checks whether this provider is empty or not.
      JSONObject getRawData() Get modifiable raw data.
      • Methods inherited from class com.batch.android.post.PostDataProvider

        getRawData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONPostDataProvider

        JSONPostDataProvider()
        Create a new provider with empty data
      • JSONPostDataProvider

        JSONPostDataProvider(JSONObject data)
        Create a new provider with given data
    • Method Detail

      • isEmpty

         boolean isEmpty()

        Checks whether this provider is empty or not.