CoreSettingsBuilder

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
  • Set the expiration for Dispatches in the queue. If a Dispatch is not dequeued in the specified amount of time it will be deleted from the queue anyway.

    Declaration

    Swift

    public func setQueueExpiration(_ queueExpiration: TimeFrame) -> Self
  • The minimum amount of time between remote settings refreshes. Refresh will happen anyway at every app startup, if a remote settingsUrl is provided in the TealiumConfig.

    Declaration

    Swift

    public func setRefreshInterval(_ refreshInterval: TimeFrame) -> Self
  • Sets the visitorIdentityKey to be looked at in the DataLayer to 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