PrivacyWebsites class

Constructors

PrivacyWebsites({required ChromeSetting thirdPartyCookiesAllowed, required ChromeSetting topicsEnabled, required ChromeSetting fledgeEnabled, required ChromeSetting adMeasurementEnabled, required ChromeSetting hyperlinkAuditingEnabled, required ChromeSetting referrersEnabled, required ChromeSetting doNotTrackEnabled, ChromeSetting? protectedContentEnabled})
PrivacyWebsites.fromJS(PrivacyWebsites _wrapped)

Properties

adMeasurementEnabled ↔ ChromeSetting
If disabled, the Attribution Reporting API and Private Aggregation API are deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable these APIs by setting the value to false. If you try setting these APIs to true, it will throw an error.
getter/setter pair
doNotTrackEnabled ↔ ChromeSetting
If enabled, Chrome sends 'Do Not Track' (DNT: 1) header with your requests. The value of this preference is of type boolean, and the default value is false.
getter/setter pair
fledgeEnabled ↔ ChromeSetting
If disabled, the Fledge API is deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable this API by setting the value to false. If you try setting this API to true, it will throw an error.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hyperlinkAuditingEnabled ↔ ChromeSetting
If enabled, Chrome sends auditing pings when requested by a website (<a ping>). The value of this preference is of type boolean, and the default value is true.
getter/setter pair
protectedContentEnabled ↔ ChromeSetting?
Available on Windows and ChromeOS only: If enabled, Chrome provides a unique ID to plugins in order to run protected content. The value of this preference is of type boolean, and the default value is true.
getter/setter pair
referrersEnabled ↔ ChromeSetting
If enabled, Chrome sends referer headers with your requests. Yes, the name of this preference doesn't match the misspelled header. No, we're not going to change it. The value of this preference is of type boolean, and the default value is true.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thirdPartyCookiesAllowed ↔ ChromeSetting
If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is true. Extensions may not enable this API in Incognito mode, where third-party cookies are blocked and can only be allowed at the site level. If you try setting this API to true in Incognito, it will throw an error.
Note: Individual sites may still be able to access third-party cookies when this API returns false, if they have a valid exemption or they use the Storage Access API instead.
getter/setter pair
toJS → PrivacyWebsites
no setter
topicsEnabled ↔ ChromeSetting
If disabled, the Topics API is deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable this API by setting the value to false. If you try setting this API to true, it will throw an error.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited