showPrivacyOptionsForm

actual fun showPrivacyOptionsForm(onDismissed: () -> Unit, onError: (Exception) -> Unit)

Present the privacy options form

When the user interacts with your element, present the privacy options form:

Parameters

onDismissed

lambda which executes when form is exited by user

onError

lambda which passes a ConsentException on failure

expect fun showPrivacyOptionsForm(onDismissed: () -> Unit, onError: (Exception) -> Unit)

Present the privacy options form

When the user interacts with your element, present the privacy options form:

Parameters

onDismissed

lambda which executes when form is exited by user

onError

lambda which passes a ConsentException on failure

actual fun showPrivacyOptionsForm(onDismissed: () -> Unit, onError: (Exception) -> Unit)

Present the privacy options form

When the user interacts with your element, present the privacy options form:

Parameters

onDismissed

lambda which executes when form is exited by user

onError

lambda which passes a ConsentException on failure