-
- All Implemented Interfaces:
-
kotlin.Comparable
public final class PrivacyAgent implements Comparable<PrivacyAgent>
A privacy agent defines a unique agent to visit websites.
Page visits through different privacy agents should not be detected as the same person, even if the visits are from the same host.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPrivacyAgent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final PrivacyAgentIdidprivate final Stringidentprivate final Stringdisplayprivate final BrowserTypebrowserTypeprivate final BooleanisUserDefaultprivate final BooleanisDefaultprivate final BooleanisPrototypeprivate final BooleanisTemporaryprivate final BooleanisPermanentprivate final PathcontextDirprivate Fingerprintfingerprint
-
Constructor Summary
Constructors Constructor Description PrivacyAgent(Path contextDir, BrowserType browserType)PrivacyAgent(Path contextDir, Fingerprint fingerprint)
-
Method Summary
Modifier and Type Method Description final PrivacyAgentIdgetId()final StringgetIdent()final StringgetDisplay()final BrowserTypegetBrowserType()final BooleangetIsUserDefault()final BooleangetIsDefault()final BooleangetIsPrototype()final BooleangetIsTemporary()final BooleangetIsPermanent()final PathgetContextDir()final FingerprintgetFingerprint()final UnitsetFingerprint(Fingerprint fingerprint)Booleanequals(Object other)The PrivacyAgent equality. IntegerhashCode()IntegercompareTo(PrivacyAgent other)-
-
Method Detail
-
getId
final PrivacyAgentId getId()
-
getDisplay
final String getDisplay()
-
getBrowserType
final BrowserType getBrowserType()
-
getIsUserDefault
final Boolean getIsUserDefault()
-
getIsDefault
final Boolean getIsDefault()
-
getIsPrototype
final Boolean getIsPrototype()
-
getIsTemporary
final Boolean getIsTemporary()
-
getIsPermanent
final Boolean getIsPermanent()
-
getContextDir
final Path getContextDir()
-
getFingerprint
final Fingerprint getFingerprint()
-
setFingerprint
final Unit setFingerprint(Fingerprint fingerprint)
-
equals
Boolean equals(Object other)
The PrivacyAgent equality. Note: do not use the default equality function
-
compareTo
Integer compareTo(PrivacyAgent other)
-
-
-
-