Class BrowserId

  • All Implemented Interfaces:
    kotlin.Comparable

    
    public final class BrowserId
     implements Comparable<BrowserId>
                        

    The unique browser id.

    Every browser instance have a unique fingerprint and a context directory.

    The fingerprint is used to identify the browser, and the context directory is used to store the browser's data.

    • Constructor Detail

      • BrowserId

        BrowserId(BrowserProfile profile)
        The constructor of the browser id.
        Parameters:
        profile - The browser profile of the browser.
      • BrowserId

        BrowserId(Path contextDir, BrowserType browserType)
        The constructor of the browser id.
        Parameters:
        contextDir - The context directory of the browser.
        browserType - The browser type of the browser.
      • BrowserId

        BrowserId(Path contextDir, Fingerprint fingerprint)