次の方法で共有


PedometerDataThreshold クラス

定義

歩数計センサーのしきい値。 しきい値の条件が満たされると、センサー トリガーがアクティブになります。

public ref class PedometerDataThreshold sealed : ISensorDataThreshold
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Sensors.IPedometerDataThresholdFactory, 131072, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PedometerDataThreshold final : ISensorDataThreshold
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Sensors.IPedometerDataThresholdFactory), 131072, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PedometerDataThreshold : ISensorDataThreshold
function PedometerDataThreshold(sensor, stepGoal)
Public NotInheritable Class PedometerDataThreshold
Implements ISensorDataThreshold
継承
Object Platform::Object IInspectable PedometerDataThreshold
属性
実装

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

コンストラクター

PedometerDataThreshold(Pedometer, Int32)

PedometerDataThreshold オブジェクトを作成します。

適用対象

こちらもご覧ください