IHumanPresenceSensorExtension 介面

定義

定義型別的實作,此類型支援在感測器與系統之間的管線中檢查和修改人類存在感測器讀數。

public interface class IHumanPresenceSensorExtension
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.Guid(1045588593, 11549, 23875, 138, 142, 164, 52, 168, 36, 46, 240)]
struct IHumanPresenceSensorExtension
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.Guid(1045588593, 11549, 23875, 138, 142, 164, 52, 168, 36, 46, 240)]
public interface IHumanPresenceSensorExtension
Public Interface IHumanPresenceSensorExtension
屬性

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

方法

Initialize(String)

初始化指定感測器的 HumanPresenceSensor 外掛程式。

ProcessReading(HumanPresenceSensorReading)

匯報 從感測器堆疊讀取 HumanPresenceSensor,並將更新的讀取傳回至感測器堆疊進行處理。

ProcessReadingTimeoutExpired(HumanPresenceSensorReading)

當外掛程式未完成呼叫 ProcessReading (Windows.Devices.Sensors.HumanPresenceSensorReading ) 預先定義的逾時時呼叫。

Reset()

如果未正確回應,請重設 HumanPresenceSensor 數據流。

Start()

啟動 HumanPresenceSensor 數據流。

Stop()

停止 HumanPresenceSensor 數據流。

Uninitialize()

取消初始化 HumanPresenceSensor 外掛程式。

適用於