共用方式為


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 物件。

屬性

適用於