-
- All Implemented Interfaces:
-
com.batch.android.localcampaigns.ViewTracker
public final class LocalCampaignsTracker extends LocalCampaignsSQLTracker
-
-
Field Summary
Fields Modifier and Type Field Description private intsessionViewsCount
-
Method Summary
Modifier and Type Method Description intgetSessionViewsCount()Get the count of in-apps viewed during the session voidresetSessionViewsCount()Reset the session view count ViewTracker.CountedViewEventtrackViewEvent(@NonNull() String campaignID, @Nullable() String customUserId)Track -
Methods inherited from class com.batch.android.localcampaigns.LocalCampaignsSQLTracker
close, deleteViewEvents, getCampaignLastOccurrence, getDateProvider, getNumberOfViewEventsSince, getViewCountsByCampaignIds, getViewCountsByCampaignIdsAndCustomUserId, getViewEventByCampaignId, getViewEventByCampaignIdAndCustomId, isOpen, open, setDateProvider -
Methods inherited from class com.batch.android.localcampaigns.ViewTracker
getCampaignLastOccurrence, getViewEventByCampaignId, getViewEventByCampaignIdAndCustomId -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSessionViewsCount
int getSessionViewsCount()
Get the count of in-apps viewed during the session
-
resetSessionViewsCount
void resetSessionViewsCount()
Reset the session view count
-
trackViewEvent
ViewTracker.CountedViewEvent trackViewEvent(@NonNull() String campaignID, @Nullable() String customUserId)
Track
- Parameters:
campaignID- Campaign ID
-
-
-
-