com.medallia.mxo.automatic

All of APIs listed on this page are in the com.medallia.mxo.automatic package.

MXOAutomaticInteractionAssignment

The configuration class used to assign a custom Interaction path to an Activity content View or a Fragment root View.

public data class MXOAutomaticInteractionAssignment(
	public val interaction: MXOInteraction?,
   	public val view: View?,
)
PropertyTypeDescription
interactionMXOInteraction?The MXO Interaction to assign to a View.
viewView?The View to assign an MXO Interaction path to.

Create an instance using the Builder as shown below:

@JvmSynthetic
public inline fun mxoAutomaticInteractionAssignment(
	block: MXOAutomaticInteractionAssignment.Builder.() -> Unit,
)
Note: For more information, see how to assign an Interaction.

MXOAutomaticInteractionExclusion

The class to configure an exclusion of an automatic Interaction.

public data class MXOAutomaticInteractionExclusion(
    	public val view: View?,
)
PropertyTypeDescription
viewView?The View to exclude from automatic Interaction tracking.

Create an instance using the Builder as shown below:

@JvmSynthetic
public inline fun mxoAutomaticInteractionExclusion(
    	block: MXOAutomaticInteractionExclusion.Builder.() -> Unit,
): MXOAutomaticInteractionExclusion?
Note: For more information, see how to exclude an Interaction.

MXOAutomaticInteractionSubscriber

The subscriber for receiving automatic Interaction responses.

public data class MXOAutomaticInteractionSubscriber(
    	public val onResponse: ((MXOInteractionResponse) -> Unit)? = null,
    	public val onError: ((MXOErrorSdk) -> Unit)? = null,
   	public val onFailure: ((MXOErrorApi) -> Unit)? = null,
)
PropertyTypeDescription
onResponse((MXOInteractionResponse) -> Unit)?Provide an MXO Interaction Response handler.
onError((MXOErrorSdk) -> Unit)?Provide an MXO Error SDK handler.
onFailure((MXOErrorApi) -> Unit)?Provide an MXO Error API handler.

Create an instance using the Builder as shown below:

@JvmSynthetic
public inline fun mxoAutomaticInteractionSubscriber(
	block: MXOAutomaticInteractionSubscriber.Builder.() -> Unit,
): MXOAutomaticInteractionSubscriber?
Note: For more information, see how to subscribe/unsubscribe from an Interaction.

MXOAutomaticInteractionTrackingConfiguration

The configuration object for MXO SDK Interaction tracking.

public class MXOAutomaticInteractionTrackingConfiguration private constructor(
	public val disableInteractionTracking: Boolean = false,
	public val disableOutboundLinkTracking: Boolean = false,
	public val disableWebViewInteractionTracking: Boolean = false,
	public val usingCustomWebViewClient: Boolean = false,
)
PropertyTypeDescription
disableInteractionTrackingBooleanSet to true to disable Interaction tracking.
disableOutboundLinkTrackingBoolean Set to true to disable updating outbound links.
disableWebViewInteractionTrackingBooleanSet to true to disable Interaction tracking of WebView URLs.
usingCustomWebViewClientBooleanIndicating use of custom WebView clients.

Create an instance using the Builder as shown below:

@JvmSyntheticpublic 
inline fun mxoAutomaticInteractionTrackingConfiguration(
	block: MXOAutomaticInteractionTrackingConfiguration.Builder.() -> Unit,
): MXOAutomaticInteractionTrackingConfiguration?
Note: For more information, see how to disable/enable automatic Interaction tracking, outbound link tracking, or WebView Interaction tracking.