PressureRecord Class
A pressure state observed by a PressureObserver (https://w3c.github.io/compute-pressure/#the-pressurerecord-interface).
public sealed class PressureRecordProperties
| Name | Description |
|---|---|
| OwnContributionEstimate | Gets the estimated contribution of the web site to the pressure, between 0 and 1, or null. |
| Source | Gets the observed source. |
| State | Gets the pressure state of the source. |
| Time | Gets the time of the sample, in milliseconds relative to the time origin of the global object of the observer. |
OwnContributionEstimate
ComputePressure.csSource
ComputePressure.csState
ComputePressure.csGets the pressure state of the source.
public PressureState State { get; }Gets the time of the sample, in milliseconds relative to the time origin of the global object of the observer.
public double Time { get; }