CMPAdapter
public protocol CMPAdapter
The CMPAdapter provides a consistent interface with external Consent Management
Providers (CMP).
-
The unique identifier for this
CMPAdapter.Declaration
Swift
var id: String { get } -
An observable of the
ConsentDecisions from the visitor.Subscriptions to this observable will always come from the
TealiumQueue.worker.Declaration
Swift
var consentDecision: Observable<ConsentDecision?> { get } -
Returns all possible purposes from the CMP, if available.
Declaration
Swift
var allPurposes: Set<String>? { get }
View on GitHub