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
-
AccelerometerData
- Attributes
- Implements
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
Xamarin.Essentials
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for