IHumanPresenceSensorExtensionPlugin Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 IHumanPresenceSensorExtensionPlugin
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.Guid(502683997, 55774, 24229, 155, 107, 170, 113, 50, 76, 228, 38)]
struct IHumanPresenceSensorExtensionPlugin
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.Guid(502683997, 55774, 24229, 155, 107, 170, 113, 50, 76, 228, 38)]
public interface IHumanPresenceSensorExtensionPlugin
Public Interface IHumanPresenceSensorExtensionPlugin
- 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. |