Interface IBrowserCapability
- Namespace
- Oscova.Agents.Browsing
- Assembly
- Oscova.Agents.dll
Shares a plugin's browser runtime with its host without exposing a browser-library dependency.
public interface IBrowserCapability : IAsyncDisposableImplements
Methods
- CloseSessionAsync(string, CancellationToken)
-
Closes the session's pages and releases its isolated state.
- ExecuteAsync(BrowserSessionScope, BrowserCommand, CancellationToken)
-
Executes a browser action in a host-authorized session.
- GetPages(string)
-
Lists live pages without starting the browser.
- OpenDownloadAsync(string, string, string, CancellationToken)
-
Opens a completed download, returning a stream the caller must dispose.
- StreamAsync(string, string, CancellationToken)
-
Streams the newest image independently to each viewer of an owned page.
- PageChanged
-
Reports page state and explicit focus requests within the owning session.