Package-level declarations
Types
How a CefriumView reacts to the host lifecycle for INLINE MEDIA. The default (PAUSE_ON_STOP) is what most apps want: a video/audio inside the page stops when the host is backgrounded (HOME / recents) and resumes on return. Pick another policy -- or pass onHostLifecycle to CefriumView for full control -- if you need different behavior (e.g. a music player that keeps playing).
A bounded LRU pool of CefriumViewState for screens that show many different pages over time -- e.g. a list of lessons/articles, each rendered in a CefriumView.
External navigation control for a CefriumView, created with rememberCefriumNavigator and passed to the composable. It operates on the CefriumBrowser owned by the bound CefriumViewState.
Hoisted state for CefriumView, created with rememberCefriumViewState.
A pending context-menu request, delivered via CefriumViewState.contextMenu. menuItems is the engine's serialized menu (the same payload the View API's context-menu listener receives); url is the link/page URL under the cursor.
A download progress update, delivered via CefriumViewState.lastDownload.
Why a renderer process terminated. See RendererTermination.
A renderer-process termination for the page, delivered via CefriumViewState.rendererTermination. errorCode is the platform error code (0 if none).
Functions
Idiomatic Compose view backed by a full Chromium engine (Cefrium).
Composable that embeds a Cefrium browser with Surface rendering.
Remembers a CefriumBrowserPool that keeps at most maxAlive browsers alive, closing the least-recently-used when you open another. Every pooled browser is released when this leaves composition. See CefriumBrowserPool for the pattern.
Remembers a CefriumNavigator across recompositions.
Remembers a CefriumViewState for url. The browser is released automatically when this leaves composition. For caller-managed lifecycles (e.g. a browser with tabs), construct CefriumViewState directly and call CefriumViewState.close.