Dela via


ActivitySensor.GetCurrentReadingAsync Method

Definition

Asynchronously gets the current sensor reading.

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)

Returns

Asynchronously returns a ActivitySensorReading object that represents info about the sensor.

Attributes

Applies to