MedalliaMXO APIs
Automatic API
Get or set the current automatic Interaction tracking configuration using the following:
To retrieve an automatic Interaction, use the function below:
Property | Type | Description |
---|---|---|
viewController | UIViewController | The View Controller to get an automatic Interaction for. |
Automatic Interaction assignment API
Assign an automatic Interaction to a View to be used instead of using the automatic path using the following:
Property | Type | Description |
---|---|---|
assignInteraction | MXOAutomaticInteractionAssignment | The Interaction to assign to automatic tracking. |
Automatic Interaction exclusion API
Exclude a View from automatically being tracked as an Interaction using the following:
Parameter | Type | Description |
---|---|---|
excludeInteration | MXOAutomaticInteractionExclusion | The Interaction to exclude from tracking. |
Automatic Interaction inclusion API
Include a View back for the automatic interaction tracking if was previously excluded using the following:
Parameter | Type | Description |
---|---|---|
includeInteration | MXOAutomaticInteractionInclusion | The Interaction to include for tracking. |
For more information, see how to include an Interaction.
Automatic Interaction subscription API
Subscribe to automatic Interaction request responses using the following:
Use the convenience function to subscribe to automatic Interaction tracking:
Parameter | Type | Description |
---|---|---|
subscriber | MXOAutomaticInteractionSubscriber | The subscriber for an Interaction. |
Configuration API
Get or set the MXO SDK configuration using the following:
Medallia Configuration API
Get or set the Medallia configuration using the following:
Identity APIs
Retrieve the TID of the current user using the following:
Clear the current user's TID from the SDK using the following:
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:
Process a URL deep link using the function below:
Parameter | Type | Description |
---|---|---|
url | URL | The deep link URL to process. |
Generate a URL with a tid
query parameter using the function below:
Parameter | Type | Description |
---|---|---|
url | URL | The URL to generate. |
Interaction APIs
Send Interactions to MXO using the following:
Parameter | Type | Description |
---|---|---|
request | MXOInteractionRequest | The Interaction request to be sent. |
Send Properties to MXO using the following:
Parameter | Type | Description |
---|---|---|
request | MXOInteractionRequest | The Interaction request to be sent. |
Send response code to MXO using the following:
Parameter | Type | Description |
---|---|---|
request | MXOResponseCodeRequest | The response code to be sent. |
Generate a URL for outbound link tracking using the function below:
Parameter | Type | Description |
---|---|---|
link | URL | The URL for outbound link tracking. |
Process the response returned from sending an Interaction using the following:
Parameter | Type | Description |
---|---|---|
response | MXOInteractionResponse | The Interaction response to process. |
Location API
Inform the MXO SDK about location details using the following:
Parameter | Type | Description |
---|---|---|
location | CLLocation | The device location to send to MXO. |
Logging API
Get or set the MXO SDK logging configuration using the following:
MXOErrorCode
An MXO SDK Runtime exception.
Enum | Description |
---|---|
sdkError | Used to specify that an SDK error was encountered. |
apiError | Used to specify that an API error was encountered. |
invalidRequestError | Used to specify that an invalid request error was encountered. |
iInvalidParamError | Used to specify that an invalid param error was encountered. |
subscriberError | Used to specify that an invalid subscriber error was encountered. |
Opt Out API
Get or set the optout
settings for compliance with a user's will to be tracked or not using the following: