Package com.batch.android.post
Interface PostDataProvider<T>
-
- Type Parameters:
T- type of data
- All Known Implementing Classes:
DisplayReceiptPostDataProvider,InboxSyncPostDataProvider,JSONPostDataProvider,ParametersPostDataProvider
public interface PostDataProvider<T>Interface for post data provider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContentType()Get the content type of the databyte[]getData()Get the dataTgetRawData()Get modifiable raw data.
The given data should be modifiable.
-
-
-
Method Detail
-
getRawData
T getRawData()
Get modifiable raw data.
The given data should be modifiable.- Returns:
-
getData
byte[] getData()
Get the data- Returns:
-
getContentType
java.lang.String getContentType()
Get the content type of the data- Returns:
-
-