setGdpr

abstract fun setGdpr(context: Context, applies: Boolean?, gdprConsentStatus: GdprConsentStatus)

Notify the partner whether GDPR applies and if so, whether the user has consented.

Parameters

context

The current Context.

applies

True if GDPR applies, false otherwise.

gdprConsentStatus

The user's GDPR consent status.