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;
}
}
Property | Type | Description |
---|---|---|
siteKey | String | The MXO workspace to configure the SDK with. |
touchpoint | URI | The MXO Touchpoint to configure the SDK with. |
host | URI | The MXO host to send data to. |
mode | MXOMode | The 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();
MXOMode
The Mode to run the MXO SDK in.
public enum MXOMode {
ADMIN,
USER,
}
Enum | Description |
---|---|
ADMIN | Used for designing and editing MXO entities. |
USER | Used for release applications. |