PressureObserverOptions Class
The options of PressureObserver.Observe (https://w3c.github.io/compute-pressure/#dom-pressureobserveroptions).
public sealed class PressureObserverOptionsConstructors
| Name | Description |
|---|---|
| PressureObserverOptions() |
PressureObserverOptions()
public PressureObserverOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| SampleInterval | Gets or sets the requested sample interval, in milliseconds: the callback is not invoked more often. With 0 (the default), the callback is only invoked when the state changes; otherwise it is invoked at this interval, whether the state changed or not. |
SampleInterval
ComputePressure.csGets or sets the requested sample interval, in milliseconds: the callback is not invoked more often. With 0 (the default), the callback is only invoked when the state changes; otherwise it is invoked at this interval, whether the state changed or not.
public uint SampleInterval { get; set; }