AccelerometerData Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.ValueTypeAccelerometerData
- 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 |