BarometerReading BarometerReading BarometerReading BarometerReading BarometerReading Class

Definition

Represents a barometer reading.

public : sealed class BarometerReading
struct winrt::Windows::Devices::Sensors::BarometerReading
public sealed class BarometerReading
Public NotInheritable Class BarometerReading
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is accessed when you invoke the GetCurrentReading method; and, it is accessed when you retrieve the Reading property of the BarometerReadingChangedEventArgs object in the event callback method.

Version history

Windows version SDK version Value added
1709 16299 PerformanceCount
1709 16299 Properties

Properties

PerformanceCount PerformanceCount PerformanceCount PerformanceCount PerformanceCount

Gets the performance count associated with the reading. This allows the reading to be synchronized with other devices and processes on the system.

Properties Properties Properties Properties Properties

Gets the data properties reported by the sensor.

StationPressureInHectopascals StationPressureInHectopascals StationPressureInHectopascals StationPressureInHectopascals StationPressureInHectopascals

Gets the barometric pressure determined by the barometer sensor.

Timestamp Timestamp Timestamp Timestamp Timestamp

Gets the time for the most recent barometer reading.