Udostępnij za pośrednictwem


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

BarometerData(Double)

Public constructor for barometer data.

Properties

PressureInHectopascals

Gets the current pressure in hectopascals.

Methods

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

Equality(BarometerData, BarometerData)

If equal to another object

Inequality(BarometerData, BarometerData)

If not equal to another object

Applies to