Configuration APIs

MXOConfiguration

The configuration object for the MXO SDK.

@interface MXOConfiguration : NSObject
@property (nonatomic, copy, readonly, nullable) NSString *siteKey;
@property (nonatomic, strong, readonly, nullable) NSURL *touchpoint;
@property (nonatomic, strong, readonly, nullable) NSURL *host;
@property (nonatomic, assign, readonly) BOOL adminMode;
@end
PropertyTypeDescription
siteKeyNSStringThe MXO workspace to configure the SDK with.
touchpointNSURLThe MXO Touchpoint to configure the SDK with.
hostNSURLThe MXO host to send data to.
adminModeBOOLThe Mode of the MXO SDK.

Create an instance using the Builder as shown below:

MXOConfiguration *mxoConfiguration = [MXOConfiguration initWithBuilder:^(MXOConfigurationBuilder * _Nonnull builder) {
	builder.adminMode = NO;
	builder.touchpoint = [NSURL URLWithString:@"myAppsNameURI"];
	builder.host = [NSURL URLWithString:@"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.

@interface MedalliaConfiguration : NSObject
@property (nonatomic, assign, readonly) BOOL disableInterSDKCommunication;
@end
PropertyTypeDescription
disableInterSDKCommunicationBOOLSet to true to disable Medallia SDK communication.

Create an instance using the Builder as shown below:

MedalliaConfiguration *medalliaConfiguration = [MedalliaConfiguration initWithBuilder:^(MedalliaConfigurationBuilder * _Nonnull builder) {
	builder.disableInterSDKCommunication = NO;
}];
Note: For more information, see how to disable/enable Medallia communication.