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?,
)
| Property | Type | Description |
|---|---|---|
| interaction | MXOInteraction? | The MXO Interaction to assign to a View. |
| view | View? | 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,
)
MXOAutomaticInteractionExclusion
The class to configure an exclusion of an automatic Interaction.
public data class MXOAutomaticInteractionExclusion(
public val view: View?,
)
| Property | Type | Description |
|---|---|---|
| view | View? | 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?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,
)
| Property | Type | Description |
|---|---|---|
| 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?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,
)
| Property | Type | Description |
|---|---|---|
| disableInteractionTracking | Boolean | Set to true to disable Interaction tracking. |
| disableOutboundLinkTracking | Boolean | Set to true to disable updating outbound links. |
| disableWebViewInteractionTracking | Boolean | Set to true to disable Interaction tracking of WebView URLs. |
| usingCustomWebViewClient | Boolean | Indicating use of custom WebView clients. |
Create an instance using the Builder as shown below:
@JvmSyntheticpublic
inline fun mxoAutomaticInteractionTrackingConfiguration(
block: MXOAutomaticInteractionTrackingConfiguration.Builder.() -> Unit,
): MXOAutomaticInteractionTrackingConfiguration?WebView Interaction tracking.