withDismissListener abstract method

ConsentFlow withDismissListener(
  1. OnDismissListener listener
)

The listener is called after the form is dismissed. If consent is not required, the listener is called immediately. The Status with which the form is dismissed will be passed to the listener function.

Implementation

ConsentFlow withDismissListener(OnDismissListener listener);