IAccelerometer.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 accelerometer.
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
Speed to monitor the sensor.
Remarks
Will throw FeatureNotSupportedException if IsSupported is false
. Will throw InvalidOperationException if IsMonitoring is true
.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.