Package com.unity3d.mediation
Object LevelPlayPrivacySettings
-
- All Implemented Interfaces:
public class LevelPlayPrivacySettingsThis class provides privacy APIs for the LevelPlay SDK.
-
-
Field Summary
Fields Modifier and Type Field Description public final static LevelPlayPrivacySettingsINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitsetGDPRConsents(Map<String, Boolean> networkConsents)Sets the consent per network, a map of network keys to boolean values that indicates whether the user has granted consent for each network to collect and share data. final static UnitsetCCPA(Boolean value)Sets the CCPA (California Consumer Privacy Act) flag. final static UnitsetCOPPA(Boolean value)Sets the COPPA (Children's Online Privacy Protection Act) flag. -
-
Method Detail
-
setGDPRConsents
final static Unit setGDPRConsents(Map<String, Boolean> networkConsents)
Sets the consent per network, a map of network keys to boolean values that indicates whether the user has granted consent for each network to collect and share data. Consent is used for GDPR compliance.
- Parameters:
networkConsents- A map where keys are network identifiers and values indicate consent status, true if the user has granted consent, false otherwise.
-
setCCPA
final static Unit setCCPA(Boolean value)
Sets the CCPA (California Consumer Privacy Act) flag. This flag indicates whether the user has opted out of the sale of their personal information.
- Parameters:
value- true if the user has opted out of the sale of their personal information, false otherwise.
-
setCOPPA
final static Unit setCOPPA(Boolean value)
Sets the COPPA (Children's Online Privacy Protection Act) flag. This flag indicates whether the user is a child under the age of 13. This will apply COPPA settings to all supported network adapters.
- Parameters:
value- true if the user is a child under the age of 13, false otherwise.
-
-
-
-