com.medallia.mxo.configuration

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

MXOConfiguration

The configuration object for the MXO SDK.

import com.medallia.mxo.configuration.MXOMode;
import java.net.URI;

public class MXOConfiguration {
    	private String siteKey;
    	private URI touchpoint;
    	private URI host;
    	private MXOMode mode;

    	private MXOConfiguration(String siteKey, URI touchpoint, URI host, MXOMode mode) {
        	this.siteKey = siteKey;
        	this.touchpoint = touchpoint;
        	this.host = host;
        	this.mode = mode;
    	}
}
PropertyTypeDescription
siteKeyStringThe MXO workspace to configure the SDK with.
touchpointURIThe MXO Touchpoint to configure the SDK with.
hostURIThe MXO host to send data to.
modeMXOModeThe Mode of the MXO SDK.

Create an instance using the Builder as shown below:

final MXOConfiguration config = new MXOConfiguration.Builder()
	.siteKey("yourSiteKey")
        .host(URI.create("https://yourHost.com"))
        .touchpoint(URI.create("android://yourTouchpoint"))
        .mode(MXOMode.USER)
        .build();
Note: For more information, see how to configure the SDK or get the current configuration.

MXOMode

The Mode to run the MXO SDK in.

public enum MXOMode {
    	ADMIN,
    	USER,
}
EnumDescription
ADMINUsed for designing and editing MXO entities.
USERUsed for release applications.
Note: For more information, see how to use the MXO mode when configuring the SDK.