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

Name Description
MagnetometerData(Double, Double, Double)

Public constructor

MagnetometerData(Single, Single, Single)

Public constructor

Properties

Name Description
MagneticField

Gets the magnetic field vector in microteslas (µ).

Methods

Name Description
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

Name Description
Equality(MagnetometerData, MagnetometerData)

Equality operator for equals

Inequality(MagnetometerData, MagnetometerData)

Inequality check

Applies to