-
- 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)Track -
Methods inherited from class com.batch.android.localcampaigns.LocalCampaignsSQLTracker
campaignLastOccurrence, close, deleteViewEvents, getDateProvider, getNumberOfViewEventsSince, getViewCounts, getViewEvent, isOpen, open, setDateProvider -
Methods inherited from class com.batch.android.localcampaigns.ViewTracker
campaignLastOccurrence, getViewEvent -
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)
Track
- Parameters:
campaignID- Campaign ID
-
-
-
-