IMagnetometer.Start(SensorSpeed) 方法

定义

开始监视磁力计的变化。

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)

参数

sensorSpeed
SensorSpeed

侦听更改的速度。

适用于