ConsentDecision
public struct ConsentDecision : Equatable
A representation of a user’s consent decision, which is expected to be provided by a Consent Management Provider.
-
The type of consent decision made by the user.
See moreDeclaration
Swift
public enum DecisionType : String -
The type of decision.
Declaration
Swift
public let decisionType: DecisionType -
The purposes that were accepted by the user, either explicitly or implicitly.
Declaration
Swift
public let purposes: Set<String> -
Creates a new
ConsentDecision.Declaration
Swift
public init(decisionType: DecisionType, purposes: Set<String>)Parameters
decisionTypeThe type of decision (implicit or explicit).
purposesThe set of purposes that were accepted by the user.
View on GitHub