Accelerometer Class
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.
Accelerometer data of the acceleration of the device in three dimensional space.
public ref class Accelerometer abstract sealed
public static class Accelerometer
type Accelerometer = class
Public Class Accelerometer
- Inheritance
-
Accelerometer
Default |
Provides the default implementation for static usage of this API. |
Is |
Gets a value indicating whether the accelerometer is being monitored. |
Is |
Gets a value indicating whether reading the accelerometer is supported on this device. |
Start(Sensor |
Start monitoring for changes to accelerometer. |
Stop() |
Stop monitoring for changes to accelerometer. |
Reading |
Occurs when the accelerometer reading changes. |
Shake |
Occurs when the accelerometer detects that the device has been shaken. |
Производ | Верзије |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI повратне информације
.NET MAUI је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: