BrowserService

extends Instance

13 members

Class fields

FieldXML typeValue
NamestringBrowserService

Functions

9
CloseBrowserWindow
() → void
FieldXML typeValue
NamestringCloseBrowserWindow
CopyAuthCookieFromBrowserToEngine
() → void
FieldXML typeValue
NamestringCopyAuthCookieFromBrowserToEngine
EmitHybridEvent
(moduleName: string, eventName: string, params: string) → void
FieldXML typeValue
NamestringEmitHybridEvent
ExecuteJavaScript
(javascript: string) → void
FieldXML typeValue
NamestringExecuteJavaScript
OpenBrowserWindow
(url: string) → void
FieldXML typeValue
NamestringOpenBrowserWindow
OpenNativeOverlay
(title: string, url: string) → void
FieldXML typeValue
NamestringOpenNativeOverlay
OpenWeChatAuthWindow
() → void
FieldXML typeValue
NamestringOpenWeChatAuthWindow
ReturnToJavaScript
(callbackId: string, success: bool, params: string) → void
FieldXML typeValue
NamestringReturnToJavaScript
SendCommand
(command: string) → void
FieldXML typeValue
NamestringSendCommand

Events

4
AuthCookieCopiedToEngine
() → void
FieldXML typeValue
NamestringAuthCookieCopiedToEngine
BrowserWindowClosed
() → void
FieldXML typeValue
NamestringBrowserWindowClosed
BrowserWindowWillNavigate
(url: string) → void
FieldXML typeValue
NamestringBrowserWindowWillNavigate
JavaScriptCallback
(content: string) → void
FieldXML typeValue
NamestringJavaScriptCallback