com.medallia.mxo
Automatic API
Get or set the current automatic Interaction tracking configuration using the following:
Use the convenience function to configure the automatic Interaction tracking:
Property | Type | Description |
---|---|---|
initializer | MXOAutomaticInteractionTrackingConfiguration.Builder.() | The receiver function for the Builder. |
To retrieve an automatic Interaction, use the extension functions below:
Property | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Automatic Interaction assignment API
Assign an automatic Interaction to a View to be used instead of using the automatic path.
Property | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
assignment | MXOAutomaticInteractionAssignment? | The assigned Interaction. |
Use the convenience function below to assign an Interaction:
Property | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOAutomaticInteractionAssignment.Builder.() | The receiver function for the Builder. |
Automatic Interaction exclusion API
Exclude a View from automatically being tracked as an Interaction using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
exclusion | MXOAutomaticInteractionExclusion? | The excluded Interaction. |
Use the convenience function to exclude an Interaction:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOAutomaticInteractionExclusion.Builder.() | The receiver function for the Builder. |
Automatic Interaction inclusion API
Include a View back for the automatic interaction tracking if was previously excluded using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
exclusion | MXOAutomaticInteractionInclusion? | The included Interaction. |
Use the convenience function to exclude an Interaction:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOAutomaticInteractionInclusion.Builder.() | The receiver function for the Builder. |
Automatic Interaction subscription API
Subscribe to automatic Interaction request responses using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
subscriber | MXOAutomaticInteractionSubscriber? | The subscriber for an Interaction. |
Use the convenience function to subscribe to automatic Interaction tracking:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOAutomaticInteractionAssignment.Builder.() | The receiver function for the Builder. |
Configuration API
Get or set the MXO SDK configuration using the following:
Use the convenience function to configure the SDK:
Parameter | Type | Description |
---|---|---|
initializer | MXOConfiguration.Builder.() | The receiver function for the Builder. |
Medallia Configuration API
Get or set the Medallia configuration using the following:
Use the convenience function to configure the SDK:
Parameter | Type | Description |
---|---|---|
initializer | MedalliaConfiguration.Builder() | The receiver function for the Builder. |
Identity APIs
Retrieve the TID of the current user using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Clear the current user's TID from the SDK using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
This feature enables the SDK to notify MXO when multiple user's may access the same app on the same device.
Identity Transfer API
Programmatic API to process a deep link to an app that has had the MXO Orchestration Plugin disabled or has had the identity transfer disabled therefore preventing the automatic sending of deep link parameters to MXO.
Get or set the MXO SDK identity transfer configuration using the following:
Use the convenience function to configure the identity transfer:
Parameter | Type | Description |
---|---|---|
initializer | MXOIdentityTransferConfiguration.Builder.() | The receiver function for the Builder. |
Process a URL or Uri deep link using the extension functions below:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Generate a URL or Uri with a tid
query parameter using the extension functions below:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Interaction API
Process the response returned from sending an Interaction using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Interaction Network API
Send Interactions to MXO using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
mxoInteractionRequest | MXOInteractionRequest | The Interaction request to be sent. |
Use the convenience function to send Interactions:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOInteractionRequest.Builder.() | The receiver function for the Builder. |
Send Properties to MXO using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
mxoInteractionRequest | MXOInteractionRequest | The Interaction request to be sent. |
Use the convenience function to send Properties:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOInteractionRequest.Builder.() | The receiver function for the Builder. |
Send response code to MXO using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
mxoResponseCodeRequest | MXOResponseCodeRequest | The response code to be sent. |
Use the convenience function to send a response code:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
initializer | MXOResponseCodeRequest.Builder.() | The receiver function for the Builder. |
Interaction URI API
Programmatic API to track an outbound link when the automatic outbound link tracking is disabled.
Generate a URL or Uri for outbound link tracking using the extension functions below:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Location API
Inform the MXO SDK about location details using the following:
Parameter | Type | Description |
---|---|---|
throwErrors | Boolean | Optional to handle errors using try/catch in addition to logging. |
Logging API
Get or set the MXO SDK logging configuration using the following:
Use the convenience function to configure logging for the SDK:
Property | Type | Description |
---|---|---|
initializer | MXOLoggingConfiguration.Builder.() | The receiver function for the Builder. |
MXOError
An MXO SDK Runtime exception.
Parameter | Type | Description |
---|---|---|
message | String | The message describing the error. |
MXOErrorApi
The error class used to signify that an API error was encountered.
Parameter | Type | Description |
---|---|---|
errorMessage | String | API Error message. |
MXOErrorSdk
The error class used to signify that an SDK error was encountered.
Parameter | Type | Description |
---|---|---|
systemCode | Int | SDK error code. |
errorMessage | String | SDK error message. |
Opt Out API
Get or set the optout
settings for compliance with a user's will to be tracked or not using the following:
Use the convenience function to configure optout
for the SDK:
Property | Type | Description |
---|---|---|
initializer | MXOOptOutConfiguration.Builder.() | The receiver function for the Builder. |