SudoAdTrackerBlockerConfig

public class SudoAdTrackerBlockerConfig

Configuration object for ad tracker blocker.

  • Creates a config specifying all the required parameters. Most useful for testing

    Declaration

    Swift

    public init(
        userClient: SudoUserClient,
        region: String,
        poolId: String,
        identityPoolId: String,
        bucket: String
    )
  • Creates a config by reading values from SudoConfigManager.

    Declaration

    Swift

    public init(userClient: SudoUserClient, config: SudoConfigManager) throws
  • Creates a config by reading a config file through SudoConfigManager. This is the recommended approach to pull config parameters from the config file downloaded through the admin console.

    Declaration

    Swift

    public convenience init(userClient: SudoUserClient) throws