Share via


MagnetometerData Struct

Definition

Data for magnetometer changes.

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

Constructors

MagnetometerData(Double, Double, Double)

Public constructor

MagnetometerData(Single, Single, Single)

Public constructor

Properties

MagneticField

Gets the magnetic field vector in microteslas (µ).

Methods

Equals(MagnetometerData)

Compares the underlying Vector3 instances.

Equals(Object)

If equal to another object

GetHashCode()

Get the hash code for object.

ToString()

A string representation of the data.

Operators

Equality(MagnetometerData, MagnetometerData)

Equality operator for equals

Inequality(MagnetometerData, MagnetometerData)

Inequality check

Applies to