CISSystemSettings
@interface CISSystemSettings : NSObject
Encapsulates all Conviva system settings.
This is required while creating a client instance and helpful in setting logLevel, storageTimeout & httpTimeout.
-
The level of log messages to print in the console log.
We recommend using log level warning during development and lowering to debug when more information is required to troubleshoot specific issues. -
Enable/Disable console logs. Set true to enable console logs else false.
Declaration
Objective-C
@property (nonatomic) BOOL enableConsoleLogs;
Swift
var enableConsoleLogs: Bool { get set }
-
Whether to allow or catch runtime exceptions.
The default value of false is highly recommended in a production environment. The default value of true is recommended during development for easier troubleshooting.Declaration
Objective-C
@property (nonatomic) BOOL allowUncaughtExceptions;
Swift
var allowUncaughtExceptions: Bool { get set }
-
How long the Conviva client will wait for a response when attempting to access device storage before considering that attempt a failure in seconds, the default value will work for the overwhelming majority of devices.
Declaration
Objective-C
@property (nonatomic) NSTimeInterval storageTimeout;
Swift
var storageTimeout: TimeInterval { get set }
-
How long the Conviva client will wait for a response when attempting to access device storage before considering that attempt a failure in seconds,
the default value will work for the overwhelming majority of devices.Declaration
Objective-C
@property (nonatomic) NSTimeInterval httpTimeout;
Swift
var httpTimeout: TimeInterval { get set }