Skip to main content
Version: 20 Mar 2024

MLWebViewTabBarBehavior

NameSpace: Core

Inherits from:
MonoBehaviour

Public Fields

currentTab


public MLWebViewTabBehavior currentTab { get; set; }


Public Methods

void CreatePopupTab

public void CreatePopupTab(
MLWebView popupWebView,
ulong popupID,
string url
)

Parameters

TypeNameDescription
MLWebViewpopupWebViewAPI for MLWebView that allows an application to instantiate a hardware accelerated WebView and interact with it(via "mouse" and "keyboard" events).
ulongpopupID
stringurl

void CreateTab

public void CreateTab()

void DestroyCurrentTab

public void DestroyCurrentTab()

MLWebViewTabBehavior [] GetAllTabs

public MLWebViewTabBehavior [] GetAllTabs()

MLWebViewTabBehavior GetTab

public MLWebViewTabBehavior GetTab(
MLWebView webView
)

Parameters

TypeNameDescription
MLWebViewwebViewAPI for MLWebView that allows an application to instantiate a hardware accelerated WebView and interact with it(via "mouse" and "keyboard" events).

void SelectTab

public void SelectTab(
MLWebViewTabBehavior tab
)

Parameters

TypeNameDescription
MLWebViewTabBehaviortab

Public Attributes

OnTabCreated


public Action< MLWebViewTabBehavior, string > OnTabCreated;


OnTabDestroyed


public Action< MLWebViewTabBehavior > OnTabDestroyed;