OrientationSensorChangedEventArgs(OrientationSensorData) 构造函数

定义

初始化 OrientationSensorChangedEventArgs 类的新实例。

public:
 OrientationSensorChangedEventArgs(Microsoft::Maui::Devices::Sensors::OrientationSensorData reading);
public OrientationSensorChangedEventArgs (Microsoft.Maui.Devices.Sensors.OrientationSensorData reading);
new Microsoft.Maui.Devices.Sensors.OrientationSensorChangedEventArgs : Microsoft.Maui.Devices.Sensors.OrientationSensorData -> Microsoft.Maui.Devices.Sensors.OrientationSensorChangedEventArgs
Public Sub New (reading As OrientationSensorData)

参数

reading
OrientationSensorData

方向传感器数据读取。

适用于