MLWebViewScreenBehavior
NameSpace: Core
This class is used to Render Web View on the texture and propagate input to Web View.
Inherits from:
MonoBehaviour
Public Fields
IsConnected
Is WebView service connected.
public bool IsConnected { get; set; }
Public Methods
bool CreateWebViewWindow
Creates the WebView window.
public bool CreateWebViewWindow()
Returns: True if created WebView window with success.
void DestroyWebViewWindow
Destroys the WebView window.
public void DestroyWebViewWindow()
void GetWebViewSize
public void GetWebViewSize(
out uint width,
out uint height
)
Parameters
Type | Name | Description |
---|---|---|
out uint | width | |
out uint | height |
void ServiceConnected
public void ServiceConnected()
void ServiceDisconnected
public void ServiceDisconnected()
void Start
public void Start()
Public Attributes
WebView
public MLWebView WebView = null;
Type | Description |
---|---|
MLWebView | API for MLWebView that allows an application to instantiate a hardware accelerated WebView and interact with it(via "mouse" and "keyboard" events). |
scrollingMode
public ScrollingMode scrollingMode = ScrollingMode.Touchpad;
Public Enums
ScrollingMode
Enumerator | Value | Description |
---|---|---|
Touchpad | ||
TriggerDrag |