ActivitySensor.GetCurrentReadingAsync 方法

定义

异步获取当前传感器读数。

public:
 virtual IAsyncOperation<ActivitySensorReading ^> ^ GetCurrentReadingAsync() = GetCurrentReadingAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ActivitySensorReading> GetCurrentReadingAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ActivitySensorReading> GetCurrentReadingAsync();
function getCurrentReadingAsync()
Public Function GetCurrentReadingAsync () As IAsyncOperation(Of ActivitySensorReading)

返回

异步返回一个 ActivitySensorReading 对象,该对象表示有关传感器的信息。

属性

适用于