Share via


OrientationSensorImplementation.Start(SensorSpeed) Method

Definition

Start monitoring for changes to the orientation.

public:
 virtual void Start(Microsoft::Maui::Devices::Sensors::SensorSpeed sensorSpeed);
public void Start (Microsoft.Maui.Devices.Sensors.SensorSpeed sensorSpeed);
abstract member Start : Microsoft.Maui.Devices.Sensors.SensorSpeed -> unit
override this.Start : Microsoft.Maui.Devices.Sensors.SensorSpeed -> unit
Public Sub Start (sensorSpeed As SensorSpeed)

Parameters

sensorSpeed
SensorSpeed

The speed to listen for changes.

Implements

Remarks

Will throw FeatureNotSupportedException if not supported on device. Will throw InvalidOperationException if IsMonitoring is true.

Applies to