Skip to content

TrackingConsentProviderCallback

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface TrackingConsentProviderCallback

A TrackingConsentProvider callback. It is going to be called whenever the tracking consent was changed.

See also

TrackingConsent.PENDING
TrackingConsent.GRANTED
TrackingConsent.NOT_GRANTED

Functions

onConsentUpdated

abstract fun onConsentUpdated(previousConsent: TrackingConsent, newConsent: TrackingConsent)

Notifies whenever the TrackingConsent was changed.

Parameters
previousConsent the previous value of the TrackingConsent
newConsent the new value of the TrackingConsent
See also
TrackingConsent.PENDING
TrackingConsent.GRANTED
TrackingConsent.NOT_GRANTED
Clone this wiki locally