Aracılığıyla paylaş


AccelerometerData Struct

Definition

Data representing the devies' three accelerometers.

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

Constructors

AccelerometerData(Double, Double, Double)

Public constructor for accelerometer data.

AccelerometerData(Single, Single, Single)

Public constructor for accelerometer data.

Properties

Acceleration

Gets the acceleration vector in G's (gravitational force).

Methods

Equals(AccelerometerData)

Compares the underlying Vector3 instances.

Equals(Object)

If equal to another object

GetHashCode()

Get the hash code for object.

ToString()

Operators

Equality(AccelerometerData, AccelerometerData)

Equality operator for equals

Inequality(AccelerometerData, AccelerometerData)

Inequality check

Applies to