configureWebView

abstract fun configureWebView(view: WebView, url: String?, favicon: Bitmap?)

Allows custom configuration of a WebView instance that the Storyteller SDK is about to display. This can be used to inject custom JavaScript, set WebView settings, or attach custom WebViewClients/WebChromeClients. See also Additional SDK Methods.

Parameters

view

The WebView instance to be configured.

url

The URL that is currently being loaded or is about to be loaded in the WebView. May be null.

favicon

The favicon Bitmap associated with the page being loaded. May be null.