Added in API level 1
WebViewTransport
open class WebViewTransport
| kotlin.Any | |
| ↳ | android.webkit.WebView.WebViewTransport |
Transportation object for returning WebView across thread boundaries.
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open WebView? |
Gets the WebView object. |
| open Unit |
setWebView(webview: WebView?)Sets the WebView to the transportation object. |
Public constructors
WebViewTransport
WebViewTransport()
Public methods
getWebView
Added in API level 1
open fun getWebView(): WebView?
Gets the WebView object.
| Return | |
|---|---|
WebView? |
the transported WebView object This value may be null. |
setWebView
Added in API level 1
open fun setWebView(webview: WebView?): Unit
Sets the WebView to the transportation object.
| Parameters | |
|---|---|
webview |
WebView?: the WebView to transport This value may be null. |