com.medallia.mxo.optout
All of APIs listed on this page are in the com.medallia.mxo.optout
package.
MXOOptInOptions
Enum of options available for granular control of what customer information is tracked.
public enum class MXOOptInOptions {
CITY_COUNTRY_DETECTION,
}
Enum | Description |
---|---|
CITY_COUNTRY_DETECTION | Use this option to track the customer's city and country using IPDetect , not the actual device location. |
MXOOptOutConfiguration
The configuration object for opting in and out of tracking.
public class MXOOptOutConfiguration private constructor(
public val optOut: Boolean = false,
public val optInOptions: Set<MXOOptInOptions> = EnumSet.allOf(MXOOptInOptions::class.java),
)
Property | Type | Description |
---|---|---|
optOut | Boolean | Set to true to opt out of tracking. |
optInOptions | Set<MXOOptInOptions> | Set of options that have opt in enabled. |
Create an instance using the Builder as shown below:
@JvmSynthetic
public fun mxoOptOutConfiguration(
initializer: MXOOptOutConfiguration.Builder.() -> Unit,
): MXOOptOutConfiguration