[Overview][Types][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents the hardware accelerometer.
Source position: lazdeviceapis.pas line 42
type TLazAccelerometer = class |
||
public |
||
xaxis: Double; |
|
The last value measured for the X axis of the accelerometer. |
yaxis: Double; |
|
The last value measured for the Y axis of the accelerometer. |
zaxis: Double; |
|
The last value measured for the Z axis of the accelerometer. |
procedure StartReadingAccelerometerData; |
|
Starts monitoring the accelerometer sensor. |
procedure StopReadingAccelerometerData; |
|
Stops monitoring the accelerometer sensor. |
property OnSensorChanged: TNotifyEvent; [rw] |
|
Called when the accelerometer value changes or is updated from the sensor. |
end; |
|
Represents the hardware accelerometer. |
|
| | ||
TObject |
Version 3.2 | Generated 2024-02-25 | Home |