Type Definitions
The following type definitions are available globally.
-
The type of consent to set. Supported consent types are
ConsentType.adStorage,ConsentType.analyticsStorage,ConsentType.adUserData, andConsentType.adPersonalization. Omitting a type retains its previous status.Declaration
Swift
struct ConsentType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
The status value of the consent type. Supported statuses are
ConsentStatus.grantedandConsentStatus.denied.Declaration
Swift
struct ConsentStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable