Barometer.Start(SensorSpeed) 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.
Start monitoring for changes to the barometer.
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
The speed to listen for changes.
Remarks
Will throw FeatureNotSupportedException if not supported on device. Will throw InvalidOperationException if IsMonitoring is true
.
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.