Configuration APIs

MXOConfiguration

The configuration object for the MXO SDK.

open class MXOConfiguration : NSObject {
	open var siteKey: String? { get }
    	open var touchpoint: URL? { get }
	open var host: URL? { get }
	open var adminMode: Bool { get }
}
PropertyTypeDescription
siteKeyString?The MXO workspace to configure the SDK with.
touchpointURL?The MXO Touchpoint to configure the SDK with.
hostURL?The MXO host to send data to.
adminModeBoolThe Mode of the MXO SDK.

Create an instance using the Builder as shown below:

let configuration = MXOConfiguration { builder in
	builder.adminMode = false
	builder.touchpoint = URL(string: "myAppsNameURI")
	builder.host = URL(string: "eu2.thunderhead.com")
	builder.siteKey = "ONE-XXXXXXXXXX-1022"
}
Note: For more information, see how to configure the SDK or get the current configuration.

MedalliaConfiguration

The Medallia communication configuration object.

open class MedalliaConfiguration : NSObject {
	open var disableInterSDKCommunication: Bool { get }
}
PropertyTypeDescription
disableInterSDKCommunicationBoolSet to true to disable Medallia SDK communication.
Create an instance using the Builder as shown below:
let medalliaConfiguration = MedalliaConfiguration { builder in
	builder.disableInterSDKCommunication = false
}
Note: For more information, see how to disable/enable Medallia communication.