MoECoreEvaluator

open class MoECoreEvaluator

Author

Umang Chamaria

Functions

canShowCampaignNow
Link copied to clipboard
open fun canShowCampaignNow(startTime: Long, endTime: Long, currentHour: Int, currentMinutes: Int): Boolean
Checks whether the given campaign can be at the given time.
canTrackAttribute
Link copied to clipboard
open fun canTrackAttribute(attribute: Attribute, blackListedAttribute: Set<String>): Boolean
canUpdateSourceInCurrentSession
Link copied to clipboard
open fun canUpdateSourceInCurrentSession(userSession: UserSession, currentTime: Long): Boolean
hasSessionExpired
Link copied to clipboard
open fun hasSessionExpired(lastActiveTime: Long, sessionInActivityDuration: Long, currentTime: Long): Boolean
hasSourceChanged
Link copied to clipboard
open fun hasSourceChanged(savedSource: TrafficSource, currentSource: TrafficSource): Boolean
isInteractiveEvent
Link copied to clipboard
open fun isInteractiveEvent(dataPointString: String): Boolean
isValidUniqueId
Link copied to clipboard
open fun isValidUniqueId(uniqueIdRegexList: Set<String>, trackedUniqueId: String): Boolean
shouldTrackScreenName
Link copied to clipboard
open fun shouldTrackScreenName(screenName: String, optedOutScreenNames: Set<String>): Boolean