CoreSettingsBuilder Class Reference
public class CoreSettingsBuilder
A builder used to enforce some of the CoreSettings.
-
Set the minimum level for logs to be logged by the entire library.
Declaration
Swift
public func setMinLogLevel(_ minLogLevel: LogLevel.Minimum) -> Self -
Set the maximum number of
Dispatches that can be stored in the queue, in FIFO order: the first element added in the queue will be the first one to be deleted when the maximum is reached.Declaration
Swift
public func setMaxQueueSize(_ maxQueueSize: Int) -> Self -
The minimum amount of time between remote settings refreshes. Refresh will happen anyway at every app startup, if a remote
settingsUrlis provided in theTealiumConfig.Declaration
Swift
public func setRefreshInterval(_ refreshInterval: TimeFrame) -> Self -
Sets the
visitorIdentityKeyto be looked at in theDataLayerto perform automatic visitor switching.Declaration
Swift
public func setVisitorIdentityKey(_ visitorIdentityKey: String) -> Self -
Sets the length of time of inactivity before a session should be considered expired, and a new one started.
Declaration
Swift
public func setSessionTimeout(_ sessionTimeout: TimeFrame) -> Self