MultipleInstancesModuleSettingsBuilder

public protocol MultipleInstancesModuleSettingsBuilder

A settings builder for a module that supports multiple instances.

  • Set the moduleId. If you don’t set it, Module.moduleType will be used later as a default.

    The module ID must be unique among all the modules provided in a single Tealium instance. When configuring a module multiple times with different settings, make sure to set a unique ID to each one other than the first to avoid clashing.

    Declaration

    Swift

    func setModuleId(_ moduleId: String) -> Self

Available where Self: ModuleSettingsBuilder

  • setModuleId(_:) Default implementation

    Default Implementation

    Declaration

    Swift

    func setModuleId(_ moduleId: String) -> Self