ConfigBuilder

@objc(SFMCSdkConfigBuilder)
public class ConfigBuilder : NSObject
  • Declaration

    Swift

    public override init()
  • Set Cdp Module

    Declaration

    Swift

    @objc
    public func setCdp(config: ModuleConfig, onCompletion: ((_ result: OperationResult) -> Void)? = nil) -> ConfigBuilder

    Parameters

    config

    Cdp Configuration

    Return Value

    ConfigBuilder

  • Set Push Module

    Declaration

    Swift

    @objc
    public func setPush(config: ModuleConfig, onCompletion: ((_ result: OperationResult) -> Void)? = nil) -> ConfigBuilder

    Parameters

    config

    Push Configuration

    Return Value

    ConfigBuilder

  • Build SDK configuiration

    Declaration

    Swift

    @objc
    public func build() -> Config

    Return Value

    Config for the SDK