shouldOverrideUrlLoading

open fun shouldOverrideUrlLoading(view: WebView, url: WebResourceRequest): Boolean

Return

true to cancel the current load, otherwise return false.

Parameters

view

The WebView that is initiating the callback.

url

Object containing the details of the request.