Pedometer class
提供一个计步器测量所采取的步骤的数目的一个接口。
Windows::Devices::Sensors
Syntax
public ref class Pedometer sealed
Events
ThePedometerclass has these events.
Methods
ThePedometerclass has these methods. With C#, Visual Basic, and C++, it also inherits methods from theObjectclass.
FromIdAsync
得计步器从它的标识符
public:static IAsyncOperation<Pedometer>^ FromIdAsync(String^ deviceId)
deviceIdPlatform::String[C++]
Type:IAsyncOperation<Pedometer>
Returns thePedometerobject from its identifier.
Properties
ThePedometerclass has these properties.
Note
This class is not supported in JavaScript