ConsentForm.OnConsentFormDismissedListener

interface ConsentForm.OnConsentFormDismissedListener


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

Summary

Public functions

Unit

Called when a consent form is closed.

Public functions

onConsentFormDismissed

fun onConsentFormDismissed(error: FormError?): Unit

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

Parameters
error: FormError?

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