Object LevelPlayPrivacySettings

  • All Implemented Interfaces:

    
    public class LevelPlayPrivacySettings
    
                        

    This class provides privacy APIs for the LevelPlay SDK.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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.
      final static Unit setCCPA(Boolean value) Sets the CCPA (California Consumer Privacy Act) flag.
      final static Unit setCOPPA(Boolean value) Sets the COPPA (Children's Online Privacy Protection Act) flag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.