ConsentForm.OnConsentFormDismissedListener

interface ConsentForm.OnConsentFormDismissedListener


在用户关闭意见征求表单时调用的回调的接口定义。

摘要

公共函数

Unit

在用户意见征求表单关闭时调用。

公共函数

onConsentFormDismissed

fun onConsentFormDismissed(error: FormError?): Unit

在用户意见征求表单关闭时调用。调用 getConsentStatus 可获取更新后的用户意见状态。

参数
error: FormError?

显示表单时发生的错误,如果未发生错误,则为 null