setWebViewContent

open fun setWebViewContent(htmlBody: String?, assetDirectoryUrl: String? = null)

Loads the WebView using an html string and local file resource url. This url should be a path to a file on the local filesystem.

Parameters

htmlBody

Html text encoded in utf-8

assetDirectoryUrl

path to the local assets file