Interface BrowserSession


public interface BrowserSession
Interface for browser connections to plug into BrowserService by connecting to a Browser object. Any navigation events sent to the Browser will be forwarded to the session to be sent to the actual browser. Implement this interface to add support for a new browser in kOS.

Any implementation generally requires a factory to detect connections from browser instances, and then fetches a corresponding Browser instance from BrowserService and uses connect() and disconnect() to link to the Browser. This implementation is also responsible for calling online() and offline() in the Browser object.

Since:
1.0
Version:
2023-11-22
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The url to navigate to.
  • Method Details