TrackingOptOutConfig

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

Create an instance of the tracking opt-out.

Since

11.0.00

Author

Umang Chamaria

Parameters

isGaidTrackingEnabled

true if you want the SDK to track Google Advertising Identifier, else false.

isAndroidIdTrackingEnabled

true if you want the SDK to track Android-id else false.

isCarrierTrackingEnabled

true if you want the SDK to track the Carrier Name else false.

isDeviceAttributeTrackingEnabled

true if you want the SDK to track the device attributes, else false.

Constructors

TrackingOptOutConfig
Link copied to clipboard
fun TrackingOptOutConfig(isGaidTrackingEnabled: Boolean, isAndroidIdTrackingEnabled: Boolean, isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean)
TrackingOptOutConfig
Link copied to clipboard
fun TrackingOptOutConfig()
TrackingOptOutConfig
Link copied to clipboard
fun TrackingOptOutConfig(isGaidTrackingEnabled: Boolean, isAndroidIdTrackingEnabled: Boolean, isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean, optOutActivities: Set<Class<*>>?)

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

isAndroidIdTrackingEnabled
Link copied to clipboard
var isAndroidIdTrackingEnabled: Boolean

The value of this field is ignored.

isCarrierTrackingEnabled
Link copied to clipboard
var isCarrierTrackingEnabled: Boolean

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

isDeviceAttributeTrackingEnabled
Link copied to clipboard
var isDeviceAttributeTrackingEnabled: Boolean

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

isGaidTrackingEnabled
Link copied to clipboard
var isGaidTrackingEnabled: Boolean

If false Google Advertising Identifier would notf be tracked by the SDK, default value true.

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

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