MLWebViewSettings
Module: WebView
Struct to define webview initialization. More...
#include <ml_webview.h>
Public Attributes
Type | Name |
---|---|
uint32_t | version |
uint32_t | width |
uint32_t | height |
void * | application_vm |
void * | context |
MLWebViewEventCallbacks | callbacks |
bool | is_popup |
uint64_t | popup_id |
Detailed Description
struct MLWebViewSettings;
Struct to define webview initialization.
This structure must be initialized by calling MLWebViewSettingsInit before use.
API Level:
- 24
Public Attributes Documentation
version
uint32_t version;
width
uint32_t width;
Horizontal size of webview in pixels.
height
uint32_t height;
Vertical size of webview in pixels.
application_vm
void * application_vm;
JavaVM pointer to use for Android up-calls.
context
void * context;
Android jobject to android.content.Context instance for Android up-calls.
callbacks
MLWebViewEventCallbacks callbacks;
Type | Description |
---|---|
MLWebViewEventCallbacks | Event handler for MLWebView callbacks. |
Event callbacks for interacting with webview.
is_popup
bool is_popup;
Is this a popup?
popup_id
uint64_t popup_id;
Popup identifier used to create a webview.