skrypton-api / com.waicool20.skrypton.jni.objects / SKryptonWebView / addOnLoadFinishedListener

addOnLoadFinishedListener

fun addOnLoadFinishedListener(listener: (ok: Boolean) -> Unit): Unit

Adds a listener for when the web view is done loading a page.

Parameters

listener - Listener used to receive this event. This lambda receives a variable ok which holds the result of the page loading.