WebClientCallback

interface WebClientCallback

Functions

onClose
Link copied to clipboard
abstract fun onClose()

Invoked when the WebClient catch a close URI.

onLoadingChanged
Link copied to clipboard
abstract fun onLoadingChanged(isLoading: Boolean)

Invoked when the page has started or finished loading.

onSwitchErrorState
Link copied to clipboard
abstract fun onSwitchErrorState(isError: Boolean, isHttpError: Boolean)

Invoked when the WebClient changes it's error state (e.g. a website that couldn't be loaded previously is now ready).

onUrlChanged
Link copied to clipboard
abstract fun onUrlChanged(newUrl: String)

Invoked when the URL has changed.

Inheritors

AppWebViewModel
Link copied to clipboard