ICompass.Start Method
Definition
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.