-
- All Implemented Interfaces:
-
com.batch.android.post.PostDataProvider
public class MetricPostDataProvider implements PostDataProvider<Collection<Metric<out Object>>>
-
-
Constructor Summary
Constructors Constructor Description MetricPostDataProvider(Collection<Metric<out Object>> metrics)
-
Method Summary
Modifier and Type Method Description Collection<Metric<out Object>>getRawData()Get modifiable raw data. Array<byte>getData()Get the data StringgetContentType()Get the content type of the data booleanisEmpty()Checks whether this provider is empty or not. -
-
Constructor Detail
-
MetricPostDataProvider
MetricPostDataProvider(Collection<Metric<out Object>> metrics)
-
-
Method Detail
-
getRawData
Collection<Metric<out Object>> getRawData()
Get modifiable raw data.The given data should be modifiable.
-
getContentType
String getContentType()
Get the content type of the data
-
isEmpty
boolean isEmpty()
Checks whether this provider is empty or not.
-
-
-
-