RemoteConfig

data class RemoteConfig(isAppEnabled: Boolean, isInAppEnabled: Boolean, isGeofenceEnabled: Boolean, isPushAmpEnabled: Boolean, isRttEnabled: Boolean, isMiPushEnabled: Boolean, isPeriodicFlushEnabled: Boolean, isRemoteLoggingEnabled: Boolean, dataSyncRetryInterval: Long, periodicFlushTime: Long, eventBatchCount: Int, pushAmpExpiryTime: Long, pushAmpSyncInterval: Long, blackListedEvents: Set<String>, flushEvents: Set<String>, userAttributeCacheTime: Long, gdprEvents: Set<String>, blockUniqueIdRegex: Set<String>, rttSyncInterval: Long, sessionInActiveDuration: Long, sourceIdentifiers: Set<String>, encryptionKey: String, logLevel: Int, blackListedUserAttributes: Set<String>, isCardsEnabled: Boolean, isInAppStatsLoggerEnabled: Boolean, whitelistedOEMS: Set<String>)

Author

Umang Chamaria Date: 2020/12/21

Constructors

RemoteConfig
Link copied to clipboard
fun RemoteConfig(isAppEnabled: Boolean, isInAppEnabled: Boolean, isGeofenceEnabled: Boolean, isPushAmpEnabled: Boolean, isRttEnabled: Boolean, isMiPushEnabled: Boolean, isPeriodicFlushEnabled: Boolean, isRemoteLoggingEnabled: Boolean, dataSyncRetryInterval: Long, periodicFlushTime: Long, eventBatchCount: Int, pushAmpExpiryTime: Long, pushAmpSyncInterval: Long, blackListedEvents: Set<String>, flushEvents: Set<String>, userAttributeCacheTime: Long, gdprEvents: Set<String>, blockUniqueIdRegex: Set<String>, rttSyncInterval: Long, sessionInActiveDuration: Long, sourceIdentifiers: Set<String>, encryptionKey: String, logLevel: Int, blackListedUserAttributes: Set<String>, isCardsEnabled: Boolean, isInAppStatsLoggerEnabled: Boolean, whitelistedOEMS: Set<String>)

Properties

blackListedEvents
Link copied to clipboard
val blackListedEvents: Set<String>
Events should not be sent to server even if tracked.
blackListedUserAttributes
Link copied to clipboard
val blackListedUserAttributes: Set<String>
User attributes which should not be sent to server even if tracked.
blockUniqueIdRegex
Link copied to clipboard
val blockUniqueIdRegex: Set<String>
Regular expressions which are not allowed for setting USER_ATTRIBUTE_UNIQUE_ID
dataSyncRetryInterval
Link copied to clipboard
val dataSyncRetryInterval: Long
Time interval after which tracked data should be synced when the application is in background.
encryptionKey
Link copied to clipboard
val encryptionKey: String
Key for encrypting/decrypting payload response.
eventBatchCount
Link copied to clipboard
val eventBatchCount: Int
Maximum number of events which should be cached before syncing the tracked data to server.
flushEvents
Link copied to clipboard
val flushEvents: Set<String>
Events which should be sent immediately to server when tracked.
gdprEvents
Link copied to clipboard
val gdprEvents: Set<String>
Events which should be tracked even if data tracking is opted out for GDPR compliance.
isAppEnabled
Link copied to clipboard
val isAppEnabled: Boolean
If true account is enabled.
isCardsEnabled
Link copied to clipboard
val isCardsEnabled: Boolean
If true cards feature is enabled.
isGeofenceEnabled
Link copied to clipboard
val isGeofenceEnabled: Boolean
If true geo-fence is enabled.
isInAppEnabled
Link copied to clipboard
val isInAppEnabled: Boolean
If true in-app is enabled.
isInAppStatsLoggerEnabled
Link copied to clipboard
val isInAppStatsLoggerEnabled: Boolean
If true in-apps stats are logged.
isMiPushEnabled
Link copied to clipboard
val isMiPushEnabled: Boolean
If true Mi Push is enabled.
isPeriodicFlushEnabled
Link copied to clipboard
val isPeriodicFlushEnabled: Boolean
If true periodic flush is enabled.
isPushAmpEnabled
Link copied to clipboard
val isPushAmpEnabled: Boolean
If true push-amp is enabled.
isRemoteLoggingEnabled
Link copied to clipboard
val isRemoteLoggingEnabled: Boolean
If true remote logging is enabled.
isRttEnabled
Link copied to clipboard
val isRttEnabled: Boolean
If true RTT is enabled.
logLevel
Link copied to clipboard
val logLevel: Int
Log level for remote logging.
periodicFlushTime
Link copied to clipboard
val periodicFlushTime: Long
Time interval after which tracked data should be synced when the application is in foreground.
pushAmpExpiryTime
Link copied to clipboard
val pushAmpExpiryTime: Long
Maximum time duration after which saved campaign-ids for duplicate check can be deleted.
pushAmpSyncInterval
Link copied to clipboard
val pushAmpSyncInterval: Long
Time interval after which push-amp API should be called when the application is in background.
rttSyncInterval
Link copied to clipboard
val rttSyncInterval: Long
Time interval after which RTT campaigns can sync when application is in background.
sessionInActiveDuration
Link copied to clipboard
val sessionInActiveDuration: Long
In-active time duration to mark a session as expired.
sourceIdentifiers
Link copied to clipboard
val sourceIdentifiers: Set<String>
Additional keys for source identification.
userAttributeCacheTime
Link copied to clipboard
val userAttributeCacheTime: Long
Minimum time interval before which same user attribute value is sent to server.
whitelistedOEMS
Link copied to clipboard
val whitelistedOEMS: Set<String>
Whitelisted OEMs supporting 100/300dp notification layout