Share via


Accelerometer.Start(SensorSpeed) Method

Definition

Start monitoring for changes to accelerometer.

public:
 static void Start(Microsoft::Maui::Devices::Sensors::SensorSpeed sensorSpeed);
public static void Start (Microsoft.Maui.Devices.Sensors.SensorSpeed sensorSpeed);
static member Start : Microsoft.Maui.Devices.Sensors.SensorSpeed -> unit
Public Shared Sub Start (sensorSpeed As SensorSpeed)

Parameters

sensorSpeed
SensorSpeed

Speed to monitor the sensor.

Remarks

Will throw FeatureNotSupportedException if not supported on device. Will throw ArgumentNullException if handler is null.

Applies to