ConsentConfigurationBuilder

public class ConsentConfigurationBuilder

A builder to create a ConsentConfiguration to be used with a specific CMPAdapter

  • Sets the purpose used to give consent to the entire SDK

    Declaration

    Swift

    public func setTealiumPurposeId(_ tealiumPurposeId: String) -> Self
  • Adds a purposeId that is required to be accepted in order for each of the given dispatcherIds to process a Dispatch.

    Declaration

    Swift

    public func addPurpose(_ purposeId: String, dispatcherIds: [String]) -> Self
  • Sets the list of dispatcher IDs that are allowed to refire events after an explicit consent decision is made by the user.

    Declaration

    Swift

    public func setRefireDispatchersIds(_ refireDispatchersIds: [String]) -> Self