adMeasurementEnabled property
ChromeSetting
get
adMeasurementEnabled
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.
Implementation
ChromeSetting get adMeasurementEnabled =>
ChromeSetting.fromJS(_wrapped.adMeasurementEnabled);
set
adMeasurementEnabled
(ChromeSetting v)
Implementation
set adMeasurementEnabled(ChromeSetting v) {
_wrapped.adMeasurementEnabled = v.toJS;
}