Package com.inmobi.compliance

## Object InMobiPrivacyCompliance

- All Implemented Interfaces:

      public class InMobiPrivacyCompliance

  Settings related to compliance of different Privacy Laws around the world.

  Currently handles US Privacy Laws (CCPA/CPRA)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static InMobiPrivacyCompliance` | `INSTANCE` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `final static Unit` | `setDoNotSell(Boolean doNotSell)` | Flag that represents user's consent for sale of personal data for Ad targeting purposes.
    `final static Unit` | `setUSPrivacyString(String privacyString)` | When using OpenRTB, bidders need to know whether personal data in a bid request is subject to the California Consumer Privacy Act (CCPA) so they can respond accordingly.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### setDoNotSell

           final static Unit setDoNotSell(Boolean doNotSell)

      Flag that represents user's consent for sale of personal data for Ad targeting purposes.

      Parameters:
        `doNotSell` -

        - true - user has not given consent for using any personal data

    - #### setUSPrivacyString

           final static Unit setUSPrivacyString(String privacyString)

      When using OpenRTB, bidders need to know whether personal data in a bid request is subject to the California Consumer Privacy Act (CCPA) so they can respond accordingly. IAB Tech Lab developed the US Privacy String to store privacy and choice signals in compliance with CCPA.

      Parameters:
        `privacyString` -

        - US privacy string value according to oRTB standards.