Settings
Struct to define webview initialization.
Public Methods
Settings Create
Create and return an initialized version of this struct.
public static Settings Create(
GCHandle gcHandle,
uint width,
uint height,
bool isPopup,
ulong popupID
)
Parameters
Type | Name | Description |
---|---|---|
GCHandle | gcHandle | |
uint | width | |
uint | height | |
bool | isPopup | |
ulong | popupID |
Returns: A new instance of this struct.
Public Attributes
ApplicationVm
JavaVM* pointer to use for Android up-calls.
public IntPtr ApplicationVm;
Callbacks
Event callbacks for interacting with webview.
public EventCallbacks Callbacks;
Type | Description |
---|---|
EventCallbacks | Event handler for MLWebView callbacks. This structure must be initialized by calling #MLWebViewEventCallbacksInit before use. |
Context
jobject to android. content. Context instance for Android up-calls.
public IntPtr Context;
Height
Vertical size of webview in pixels.
public uint Height;
IsPopup
Is this a popup?
public bool IsPopup;
PopupID
Popup identifier used to create a webview.
public ulong PopupID;
Version
Version of this struct.
public uint Version;
Width
Horizontal size of webview in pixels.
public uint Width;