fun addOnCloseClickListener(listener: OnCloseClickListener): Unit
Adds a listener to be notified of close button click.
listener
- The listener to notify when close button clicked.
inline fun addOnCloseClickListener(crossinline listener: () -> Unit): Unit
Experimental function, can be changed or removed in the next SDK releases. Adds a listener to be notified of close button click.
listener
- The listener to notify when close button clicked.