Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

ConsentForm.OnConsentFormDismissedListener

public static interface ConsentForm.OnConsentFormDismissedListener

Interface definition for a callback to be invoked when a consent form is dismissed.

Public Method Summary

abstract void
onConsentFormDismissed(FormError error)
Called when a consent form is closed.

Public Methods

public abstract void onConsentFormDismissed (FormError error)

Called when a consent form is closed. Call ConsentInformation.getConsentStatus() to get the updated consent status.

Parameters
error The error that occurred when showing the form, or null if no error occurred.