ISensorDataThreshold 介面

定義

識別感應器資料的臨界值。 當超過此臨界值時,感應器觸發程式將會啟動。

public interface class ISensorDataThreshold
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(1423633505, 65099, 19975, 178, 96, 58, 76, 223, 190, 57, 110)]
struct ISensorDataThreshold
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Guid(1423633505, 65099, 19975, 178, 96, 58, 76, 223, 190, 57, 110)]
public interface ISensorDataThreshold
Public Interface ISensorDataThreshold
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

備註

感應器可以根據涉及的感應器類型來支援不同類型的臨界值。 例如,如果步驟數目超過設定值,則 pedometer 可以支援具有會觸發的臨界值。 另一方面,鄰近性可能會有感應器狀態變更時所啟動的臨界值。

適用於