Structs§
- Browser
Address Input Context - Browser
Address Input Error - Browser
Address Input Request - Browser
Address Input Response - Browser
Address Navigation - Browser
Address State - Browser
Address Suggestion - Browser
Element Info - Browser
Navigation Policy Request - Browser
Navigation Policy Response - Browser
Rect - Browser
TabInfo - Browser
Wait Result - Network
Capture Snapshot - A point-in-time view of the capture buffer.
- Network
Entry - One captured network request and its response (when it completed).
- WebView
Cookie - WebView
Cookie SetRequest
Enums§
- Browser
Address Action - Browser
Address Input Trigger - Browser
Address Value Kind - Browser
Automation Error - Browser
Navigation Policy Decision - Browser
Navigation Target - Browser
Wait Condition - LxApp
Error - Network
Body - Response body of a captured entry.
- WebView
Cookie Same Site
Constants§
Traits§
Functions§
- activate
- automation_
current_ tab - Current tab selected by browser automation. Standalone surface tabs can be selected here without changing the product browser’s active tab.
- classify_
navigation - classify_
navigation_ json - clear_
active - Clear active browser state when the host leaves browser UI entirely.
- clear_
cookies - clear_
network_ capture - clear_
site_ data - click
- close
- current_
tab - current_
url - delete_
cookie - discard
- Discard a tab’s WebView to free memory while keeping its sidebar entry.
- evaluate_
javascript - extract_
url_ scheme - Extract the (lowercased) scheme from a URL-like string, or
Noneif the text before the first:is not a valid scheme. - fill
- go_back
- go_
forward - is_
lingxia_ startup_ url - Whether a
lingxia://URL maps to the startup/newtab page or another internal browser page. - list_
all_ cookies - list_
cookies - mark_
active - Sync the Rust-side active tab when the SDK switches to an already-live tab.
- network_
entries - normalize_
url_ for_ wait_ compare - open
- open_
aside_ for_ app - Open a tab in the API-managed aside browser group.
- open_
for_ app - open_
standalone_ for_ app - Open a standalone browser tab hosted outside the product browser chrome. This supports docked asides and URL surfaces. New-window requests load inline in the same WebView rather than spawning a main-area tab.
- present
- Mark
tab_idactive and ask the host shell to bring it onscreen. - press
- prune_
stale_ owner_ tabs - Retire browser tabs owned by previous sessions of an lxapp.
- query
- query_
with_ max_ text - reactivate
- Recreate a discarded tab’s WebView, reload its URL, and activate it.
- register_
native_ input_ host - reload
- scroll
- scroll_
to - set_
cookie - set_
tab_ present_ handler - Registers a process-wide observer used to bring a browser tab onscreen.
- set_
tabs_ changed_ handler - Registers a process-wide observer invoked whenever the browser tab set or tab metadata changes: tab opened/closed, active tab switched, or a tab’s URL/title updated. Intended for shell UIs that mirror the tab list (e.g. sidebar tab rows); the previous handler (if any) is replaced.
- start_
download - start_
network_ capture - stop_
network_ capture - tab_
favicon - PNG-encoded favicon of
tab_id’s current page, if the platform webview reported one (seeWebViewDelegate::on_favicon_changed). Kept out ofBrowserTabInfoso the serialized tab projection stays byte-free; shell sidebars query it per tab when mirroring the tab list. - tab_
is_ aside - Whether
tab_idbelongs to the API-managed aside browser group. - tab_
is_ standalone - Whether
tab_idis hosted outside the product browser chrome, such as a docked aside or URL surface. It remains visible to browser automation. - tab_
path - tabs
- take_
screenshot - type_
text - update_
tab - wait
- wait_
for_ navigation - wait_
for_ url - wait_
for_ url_ contains
Type Aliases§
- Browser
Page Metadata Handler (url, title)observer;titleis empty when no title has been reported for that URL yet.