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, required ChromeSetting relatedWebsiteSetsEnabled})
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
relatedWebsiteSetsEnabled ChromeSetting
If disabled, Related Website Sets 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
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.
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