setDismissHandler

fun setDismissHandler(dismissHandler: () -> Unit?)

Sets a dismiss handler which will be called when the user successfully purchases or if there is an error loading the offerings and the user clicks through the error dialog.