Package com.inmobi.commons.utils.info
Object GDPRInfo
-
- All Implemented Interfaces:
public class GDPRInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public @interfaceGDPRInfo.GDPR_CONSENT_STATUS
-
Field Summary
Fields Modifier and Type Field Description public final static StringIM_GDPR_CONSENT_AVAILABLEpublic final static StringIM_GDPR_CONSENT_IAB_STRINGpublic final static StringIM_GDPR_CONSENT_GDPR_APPLIESprivate static JSONObjectconsentObjectprivate final static BytegDPRConsentStatuspublic final static GDPRInfoINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitsetPartnerConsentObject(JSONObject consentObject)final BooleandecideToTransmitRequest(Boolean transmitRequestReservation)final BooleancanShowAd()final static UnitresetGDPRInfoVariables()Reset all the variables related to GDPR info and should be used only in Automation final static UnitresetConfigToDefault()final static JSONObjectgetConsentObject()final static UnitsetConsentObject(static JSONObject consentObject)final static BytegetGDPRConsentStatus()-
-
Method Detail
-
setPartnerConsentObject
final Unit setPartnerConsentObject(JSONObject consentObject)
-
decideToTransmitRequest
final Boolean decideToTransmitRequest(Boolean transmitRequestReservation)
-
resetGDPRInfoVariables
final static Unit resetGDPRInfoVariables()
Reset all the variables related to GDPR info and should be used only in Automation
-
resetConfigToDefault
final static Unit resetConfigToDefault()
-
getConsentObject
@WorkerThread() final static JSONObject getConsentObject()
-
setConsentObject
final static Unit setConsentObject(static JSONObject consentObject)
-
getGDPRConsentStatus
@WorkerThread() final static Byte getGDPRConsentStatus()
-
-
-
-