-
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public abstract class CloudXAdapterPrivacyHandler
Base class for ad network adapters to receive privacy consent updates.
Implement this as a
@Keep object PrivacyHandlerin each adapter module. The SDK discovers implementations via reflection using the adapter package prefix.Called when:
Publisher sets manual consent via io.cloudx.sdk.CloudX.setHasUserConsent / io.cloudx.sdk.CloudX.setDoNotSell
CMP writes IAB privacy strings to SharedPreferences
SDK initializes (initial push of current consent state)
-
-
Constructor Summary
Constructors Constructor Description CloudXAdapterPrivacyHandler()
-
Method Summary
Modifier and Type Method Description abstract UnitupdatePrivacySettings(CloudXAdapterPrivacyParams params)Called when privacy settings change. -
-
Method Detail
-
updatePrivacySettings
abstract Unit updatePrivacySettings(CloudXAdapterPrivacyParams params)
Called when privacy settings change.
- Parameters:
params- Privacy params including context, settings, and logger.
-
-
-
-