Share via


ICompass.Start Method

Definition

Overloads

Start(SensorSpeed)

Start monitoring for changes to the compass.

Start(SensorSpeed, Boolean)

Start monitoring for changes to the compass.

Start(SensorSpeed)

Source:
Compass.shared.cs
Source:
Compass.shared.cs

Start monitoring for changes to the compass.

public:
 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
Public Sub Start (sensorSpeed As SensorSpeed)

Parameters

sensorSpeed
SensorSpeed

The speed to monitor for changes.

Applies to

Start(SensorSpeed, Boolean)

Source:
Compass.shared.cs
Source:
Compass.shared.cs

Start monitoring for changes to the compass.

public:
 void Start(Microsoft::Maui::Devices::Sensors::SensorSpeed sensorSpeed, bool applyLowPassFilter);
public void Start (Microsoft.Maui.Devices.Sensors.SensorSpeed sensorSpeed, bool applyLowPassFilter);
abstract member Start : Microsoft.Maui.Devices.Sensors.SensorSpeed * bool -> unit
Public Sub Start (sensorSpeed As SensorSpeed, applyLowPassFilter As Boolean)

Parameters

sensorSpeed
SensorSpeed

The speed to monitor for changes.

applyLowPassFilter
Boolean

Whether or not to apply a moving average filter (only used on Android).

Applies to