Home > @magiclane/maps-sdk > Acceleration
Acceleration class
Acceleration sensor data in three-dimensional space.
Measures linear movement of the device along the X, Y, and Z axes. Useful for detecting motion, steps, or sudden changes in speed.
Sensor Data Source
Signature:
export declare class Acceleration extends GemAutoreleaseObject implements SenseData Extends: GemAutoreleaseObject
Implements: SenseData
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Acceleration class.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| Date | Acquisition time | |
| Get data type | ||
| The unit of measurement for acceleration values. | ||
| number | The acceleration along the X axis. | |
| number | The acceleration along the Y axis. | |
| number | The acceleration along the Z axis. |
Methods
Method | Modifiers | Description |
|---|---|---|
Serialize to JSON |