MPCCPAConsent Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in MPCCPAConsent.h

Overview

Record of consent under the CCPA.

  consented

  • Whether the user consented to data collection This should be set to false if the user has opted out of data sharing under the CCPA.
@property (nonatomic, assign) BOOL consented

Discussion

  • Whether the user consented to data collection This should be set to false if the user has opted out of data sharing under the CCPA.

Declared In

MPCCPAConsent.h

  document

The data collection document to which the user consented or did not consent

@property (nonatomic, copy, nullable) NSString *document

Discussion

The data collection document to which the user consented or did not consent

Declared In

MPCCPAConsent.h

  timestamp

Timestamp when the user was prompted for consent

@property (nonatomic, copy) NSDate *timestamp

Discussion

Timestamp when the user was prompted for consent

Declared In

MPCCPAConsent.h

  location

Where the consent prompt took place. This can be a physical or digital location (e.g. URL)

@property (nonatomic, copy, nullable) NSString *location

Discussion

Where the consent prompt took place. This can be a physical or digital location (e.g. URL)

Declared In

MPCCPAConsent.h

  hardwareId

The device ID associated with this consent record

@property (nonatomic, copy, nullable) NSString *hardwareId

Discussion

The device ID associated with this consent record

Declared In

MPCCPAConsent.h