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 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.
import com.medallia.mxo.optout.MXOOptInOptions;
public class MXOLoggingConfiguration {
private Boolean optOut;
private Set<MXOOptInOptions> optInOptions;
public MXOLoggingConfiguration(Boolean optOut, Set<MXOOptInOptions> optInOptions) {
this.optOut = optOut;
this.optInOptions = optInOptions;
}
}
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:
final MXOOptOutConfiguration configuration = new MXOOptOutConfiguration.Builder()
.optOut(false)
.optInOptions(options)
.build();