Share via


BarometerData Struct

Definition

Contains the pressure measured by the user's device barometer.

public value class BarometerData : IEquatable<Microsoft::Maui::Devices::Sensors::BarometerData>
public readonly struct BarometerData : IEquatable<Microsoft.Maui.Devices.Sensors.BarometerData>
type BarometerData = struct
Public Structure BarometerData
Implements IEquatable(Of BarometerData)
Inheritance
BarometerData
Implements

Constructors

BarometerData(Double)

Initializes a new instance of the BarometerData class.

Properties

PressureInHectopascals

Gets the current pressure in hectopascals.

Methods

Equals(BarometerData)

Compares the underlying PressureInHectopascals instances.

Equals(Object)

Compares the underlying BarometerData instances.

GetHashCode()

Get has code for object.

ToString()

Returns a string representation of the current values of PressureInHectopascals.

Operators

Equality(BarometerData, BarometerData)

Equality operator for equals.

Inequality(BarometerData, BarometerData)

Inequality operator.

Applies to