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

Stay organized with collections Save and categorize content based on your preferences.
public interface ConsentForm

A rendered form for collecting consent from a user.

Nested Class Summary

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

Public Method Summary

abstract void
show(Activity activity, ConsentForm.OnConsentFormDismissedListener onConsentFormDismissedListener)
Shows the consent form.

Public Methods

public abstract void show (Activity activity, ConsentForm.OnConsentFormDismissedListener onConsentFormDismissedListener)

Shows the consent form.

Parameters
activity The activity showing the consent form.
onConsentFormDismissedListener The listener that gets called when the consent form is dismissed.