BarometerData Struct

Definition

Contains the pressure measured by the user's device.

public struct BarometerData : IEquatable<Xamarin.Essentials.BarometerData>
[System.Runtime.CompilerServices.IsReadOnly]
public struct BarometerData : IEquatable<Xamarin.Essentials.BarometerData>
Inheritance
System.ValueType
BarometerData
Attributes
System.Runtime.CompilerServices.IsReadOnlyAttribute
Implements
System.IEquatable<BarometerData>

Constructors

Name Description
BarometerData(Double)

Public constructor for barometer data.

Properties

Name Description
PressureInHectopascals

Gets the current pressure in hectopascals.

Methods

Name Description
Equals(BarometerData)

If equal to another object

Equals(Object)

If equal to another object

GetHashCode()

Get has code for object.

ToString()

Outputs the data as a string.

Operators

Name Description
Equality(BarometerData, BarometerData)

If equal to another object

Inequality(BarometerData, BarometerData)

If not equal to another object

Applies to