-
- All Implemented Interfaces:
-
com.batch.android.post.PostDataProvider
public class LocalCampaignsJITPostDataProvider extends MessagePackPostDataProvider<Collection<LocalCampaign>>
-
-
Constructor Summary
Constructors Constructor Description LocalCampaignsJITPostDataProvider(Collection<LocalCampaign> campaigns)
-
Method Summary
Modifier and Type Method Description Collection<LocalCampaign>getRawData()Get modifiable raw data. List<String>unpack(Array<byte> 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
-
LocalCampaignsJITPostDataProvider
LocalCampaignsJITPostDataProvider(Collection<LocalCampaign> campaigns)
-
-
Method Detail
-
getRawData
Collection<LocalCampaign> getRawData()
Get modifiable raw data.The given data should be modifiable.
-
isEmpty
boolean isEmpty()
Checks whether this provider is empty or not.
-
-
-
-