XMediator::Api::ConsentInformation
Consent configuration settings object. InitSettings, XMediatorSdk.SetConsentInformation
Public Functions
Name | |
---|---|
ConsentInformation(bool? hasUserConsent =null, bool? doNotSell =null, bool? isChildDirected =null, bool isCMPAutomationEnabled =false, CMPDebugSettings cmpDebugSettings =null) Creates a new ConsentInformation instance. |
|
override bool | Equals(object obj) |
override int | GetHashCode() |
override string | ToString() |
Protected Functions
Name | |
---|---|
bool | Equals(ConsentInformation other) |
Public Properties
Name | |
---|---|
bool? | HasUserConsent |
bool? | DoNotSell |
bool? | IsChildDirected |
bool | IsCMPAutomationEnabled |
CMPDebugSettings | CMPDebugSettings |
Public Functions Documentation
function ConsentInformation
ConsentInformation(
bool? hasUserConsent =null,
bool? doNotSell =null,
bool? isChildDirected =null,
bool isCMPAutomationEnabled =false,
CMPDebugSettings cmpDebugSettings =null
)
Creates a new ConsentInformation instance.
Parameters:
- hasUserConsent Whether the user has given consent to serve personalized ads.
- doNotSell Whether the user has opted out of data sale.
- isChildDirected Whether the user is a child. Review the Children's Online Privacy Protection Act (COPPA).
- isCMPAutomationEnabled Enables automatic consent gathering using UMP before initializing ad mediation.
- cmpDebugSettings Settings to debug the CMP integration.
function Equals
function GetHashCode
function ToString
Protected Functions Documentation
function Equals
Public Property Documentation
property HasUserConsent
property DoNotSell
property IsChildDirected
property IsCMPAutomationEnabled
property CMPDebugSettings
Updated on 2024-11-07 at 18:31:49 +0000