ContextAPISettingsBuilder

public class ContextAPISettingsBuilder : ModuleSettingsBuilder

Builder for Context API module settings.

  • Sets the region for the Context API.

    Declaration

    Swift

    public func setRegion(_ region: ContextAPIRegion) -> Self

    Parameters

    region

    The Context API region

    Return Value

    The builder instance for method chaining

  • Sets the referrer for the Context API requests.

    Declaration

    Swift

    public func setReferrer(_ referrer: String) -> Self

    Parameters

    referrer

    The referrer URL

    Return Value

    The builder instance for method chaining