JWOMIDConfigBuilder

@objcMembers
public class JWOMIDConfigBuilder : NSObject, JWBuilder

A builder for creating a JWOMIDConfig.

  • Builds a JWOMIDConfig object for use in tracking ads.

    Throws

    throws An error if the Open Measurement SDK is not linked with the application.

    Declaration

    Swift

    public func build() throws -> JWOMIDConfig
  • Specify a list of vendors whose code is allowed to execute in Open Measurement.

    Declaration

    Swift

    @discardableResult
    public func allowedVendors(_ vendors: [String]) -> JWOMIDConfigBuilder

    Parameters

    vendors

    A list of vendor identities.

    Return Value

    The builder, so setters can be chained.