Share via


IHumanPresenceSensorExtension Interface

Definition

Defines the implementation for a type that supports inspecting and modifying human presence sensor readings in the pipeline between the sensor and the system.

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
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Methods

Initialize(String)

Initializes a HumanPresenceSensor plugin for the specified sensor.

ProcessReading(HumanPresenceSensorReading)

Updates a HumanPresenceSensor reading from the sensor stack and returns an updated reading to the sensor stack for processing.

ProcessReadingTimeoutExpired(HumanPresenceSensorReading)

Called when the plugin does not complete a call to ProcessReading(Windows.Devices.Sensors.HumanPresenceSensorReading) within a pre-defined timeout.

Reset()

Resets a HumanPresenceSensor stream if not responding correctly.

Start()

Starts a HumanPresenceSensor stream.

Stop()

Stops a HumanPresenceSensor stream.

Uninitialize()

Uninitializes a HumanPresenceSensor plugin.

Applies to