-
- All Implemented Interfaces:
-
com.batch.android.post.PostDataProvider
public class MetricPostDataProvider extends MessagePackPostDataProvider<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. booleanisEmpty()Checks whether this provider is empty or not. -
Methods inherited from class com.batch.android.post.MessagePackPostDataProvider
getContentType, getData -
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
-
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.
-
isEmpty
boolean isEmpty()
Checks whether this provider is empty or not.
-
-
-
-