Webview Library
Types
Link copied to clipboard
The callback interface for webview_bind
due to JNA's function mapping rules.
Link copied to clipboard
Functions
Link copied to clipboard
public abstract Unit webview_bind( Pointer webview, String name, WebviewJNA.WebviewLibrary.webview_bind_fn_callback callback, Pointer arg)
Content copied to clipboard
Binds a native Kotlin/Java callback so that it will appear under the given name as a global JavaScript function.
Link copied to clipboard
Creates a new webview instance.
Link copied to clipboard
Link copied to clipboard
Content copied to clipboard
Posts a function to be executed on the main thread.
Link copied to clipboard
Evaluates arbitrary JavaScript code.
Link copied to clipboard
Returns a native window handle pointer.
Link copied to clipboard
Injects JavaScript code at the initialization of the new page.
Link copied to clipboard
Navigates webview to the given URL
Link copied to clipboard
public abstract Unit webview_return( Pointer webview, String seq, Integer status, String result)
Content copied to clipboard
Allows to return a value from the Kotlin/Java binding.
Link copied to clipboard
Runs the main loop until it's terminated.
Link copied to clipboard
Set webview HTML directly.
Link copied to clipboard
public abstract Unit webview_set_size( Pointer webview, Integer width, Integer height, Integer hints)
Content copied to clipboard
Updates the size of the native window.
Link copied to clipboard
Updates the title of the native window.
Link copied to clipboard
Stops the main loop.
Link copied to clipboard
Removes a Kotlin/Java callback that was previously set by webview_bind
.