Definition
Private Aggregation API defines PrivateAggregation
[Exposed=(InterestGroupScriptRunnerGlobalScope,SharedStorageWorklet),
SecureContext]
interface PrivateAggregation {
undefined contributeToHistogram(PAHistogramContribution contribution);
undefined enableDebugMode(optional PADebugModeOptions options = {});
};
This interface is extended in the following specifications:
- Protected Audience (formerly FLEDGE)
[Exposed=InterestGroupScriptRunnerGlobalScope] partial interface PrivateAggregation { undefined contributeToHistogramOnEvent( DOMString event, PAExtendedHistogramContribution contribution); };
Consolidated IDL (across mixin and partials)
[Exposed=(InterestGroupScriptRunnerGlobalScope,SharedStorageWorklet),
SecureContext]
interface PrivateAggregation {
undefined contributeToHistogram(PAHistogramContribution contribution);
undefined enableDebugMode(optional PADebugModeOptions options = {});
undefined contributeToHistogramOnEvent(
DOMString event, PAExtendedHistogramContribution contribution);
};
Methods and attributes that return objects implementing PrivateAggregation
Referring IDL interfaces/dictionaries
Referring specifications
- Shared Storage API refers to
PrivateAggregation
- Protected Audience (formerly FLEDGE) refers to
PrivateAggregation