navigateTo

abstract fun navigateTo(url: String)

导航到指定的网址。

Parameters

url

需要导航到的完整网址 (例如 "https://m8test.com")。

Throws

如果WebView实例不可用。