TrackingConsentProviderCallback - DataDog/dd-sdk-android GitHub Wiki
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 |