-
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public interface CloudXAdapterPrivacySettings
Privacy settings passed to adapter CloudXAdapterPrivacyHandlers.
"Resolved" values reflect the full derivation chain (GPP → IAB legacy → manual fallback). "Manual" values are the raw flags set by the publisher via io.cloudx.sdk.CloudX.setHasUserConsent and io.cloudx.sdk.CloudX.setDoNotSell.
Adapters that auto-read IAB strings from SharedPreferences (e.g. Vungle, InMobi) should use the manual values only to avoid conflicts. Adapters that don't read SP should use resolved values.
-
-
Method Summary
Modifier and Type Method Description abstract BooleangetHasUserConsent()Resolved GDPR consent (GPP → TCF → manual fallback). abstract BooleangetIsDoNotSell()Resolved CCPA do-not-sell (GPP → US Privacy → manual fallback). abstract BooleangetManualHasUserConsent()Raw manual GDPR consent flag set by publisher. abstract BooleangetManualIsDoNotSell()Raw manual do-not-sell flag set by publisher. -
-
Method Detail
-
getHasUserConsent
abstract Boolean getHasUserConsent()
Resolved GDPR consent (GPP → TCF → manual fallback). true = granted, false = denied, null = unknown.
-
getIsDoNotSell
abstract Boolean getIsDoNotSell()
Resolved CCPA do-not-sell (GPP → US Privacy → manual fallback). true = opted out, false = did not, null = unknown.
-
getManualHasUserConsent
abstract Boolean getManualHasUserConsent()
Raw manual GDPR consent flag set by publisher. null if not set.
-
getManualIsDoNotSell
abstract Boolean getManualIsDoNotSell()
Raw manual do-not-sell flag set by publisher. null if not set.
-
-
-
-