Class SharedStorageWorkletGlobalScope
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalSharedStorageWorkletGlobalScope interface of the {{domxref("Shared Storage API", "Shared Storage API", "", "nocode")}} represents the global scope of a SharedStorageWorklet module.
[Value("SharedStorageWorkletGlobalScope")]
public class SharedStorageWorkletGlobalScope : WorkletGlobalScope
- Inheritance
-
SharedStorageWorkletGlobalScope
- Inherited Members
Remarks
Constructors
SharedStorageWorkletGlobalScope()
public SharedStorageWorkletGlobalScope()
Properties
Navigator
[Value("navigator")]
public SharedStorageWorkletNavigator Navigator { get; }
Property Value
PrivateAggregation
[Value("privateAggregation")]
public PrivateAggregation PrivateAggregation { get; }
Property Value
SharedStorage
NOTE
Experimentalcontext read-only property of theSharedStorageWorkletGlobalScope interface contains a WorkletSharedStorage object instance, which represents the shared storage for a particular origin as exposed to a worklet context.
[Value("sharedStorage")]
public SharedStorage SharedStorage { get; }
Property Value
- SharedStorage
A WorkletSharedStorage object instance.
Remarks
Methods
InterestGroups()
[Value("interestGroups")]
public Task<List<StorageInterestGroup>> InterestGroups()
Returns
Register(string, Function)
NOTE
Experimentalregister() method of theSharedStorageWorkletGlobalScope interface registers an {{domxref("SharedStorageOperation", "operation", "", "nocode")}} defined inside the current worklet module.
[Value("register")]
public GlobalObject.Undefined Register(string name, Function operationCtor)
Parameters
Returns
- GlobalObject.Undefined
None (
undefined).