Sending a response code
Sending an Interaction response code can be useful when displaying Optimizations programmatically and capturing the user's response.
android://touchpoint/interaction
.To send a response code, call the mxoSendInteractionResponseCode
Kotlin top-level function or the MedalliaMXO.sendInteractionResponseCode
Java method, with the response code and the corresponding Interaction path as parameters, as shown below:
To capture errors, set the throwErrors
parameter to true
and wrap the method in a try/catch
block, as shown below:
This sends a PUT request to Medallia Experience Orchestration.