ConsentForm

interface ConsentForm


A rendered form for collecting consent from a user.

Summary

Nested types

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

Public functions

Unit
show(
    activity: Activity!,
    onConsentFormDismissedListener: ConsentForm.OnConsentFormDismissedListener!
)

Shows the consent form.

Public functions

show

fun show(
    activity: Activity!,
    onConsentFormDismissedListener: ConsentForm.OnConsentFormDismissedListener!
): Unit

Shows the consent form.

Parameters
activity: Activity!

The activity showing the consent form.

onConsentFormDismissedListener: ConsentForm.OnConsentFormDismissedListener!

The listener that gets called when the consent form is dismissed.