다음을 통해 공유


PedometerDataThreshold 클래스

정의

Pedometer 센서에 대한 임계값입니다. 임계값 조건이 충족되면 센서 트리거가 활성화됩니다.

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 개체를 만듭니다.

적용 대상

추가 정보