Dela via


Pedometer.GetDefaultAsync Method

Definition

Asynchronously obtains the default pedometer.

public:
 static IAsyncOperation<Pedometer ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<Pedometer> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<Pedometer> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of Pedometer)

Returns

Asynchronously returns a Pedometer object that represents the default sensor.

Attributes

Windows requirements

App capabilities
activity

Applies to