TrackingOptOutConfig

class TrackingOptOutConfig(isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean, optOutActivities: Set<Class<*>>?)

Constructors

TrackingOptOutConfig
Link copied to clipboard
fun TrackingOptOutConfig(isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean)

Types

Companion
Link copied to clipboard
object Companion

Functions

addActivities
Link copied to clipboard
fun addActivities(clazzSet: Set<Class<*>>)

Add Set of Activity Class to the opt-out list.

addActivity
Link copied to clipboard
fun addActivity(clazz: Class<*>)

Add Activity Class to the opt-out list.

getOptedOutActivities
Link copied to clipboard
fun getOptedOutActivities(): Set<String>
toString
Link copied to clipboard
open override fun toString(): String

Properties

isCarrierTrackingEnabled
Link copied to clipboard
val isCarrierTrackingEnabled: Boolean

If false the Mobile Carrier name would not be tracked by the SDK, default value true.

isDeviceAttributeTrackingEnabled
Link copied to clipboard
val isDeviceAttributeTrackingEnabled: Boolean

If false device attributes like Product name, Model Name, Height Width, etc are not tracked, default value true.

optOutActivities
Link copied to clipboard
val optOutActivities: Set<Class<*>>?

Set of Activity Class objects to be excluded from tracking, default value empty set.