Dela via


DetectedPerson Class

Definition

Represents a detected person as detected by the human presence sensor.

public ref class DetectedPerson sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DetectedPerson final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DetectedPerson
Public NotInheritable Class DetectedPerson
Inheritance
Object Platform::Object IInspectable DetectedPerson
Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Properties

DistanceInMillimeters

Gets the distance in millimeters the detected person is from the human presence sensor.

Engagement

Gets how the detected person is engaged with the device.

HeadOrientation

Gets the orientation of the detected person's head relative to the human presence sensor, in terms of roll, pitch, and yaw.

HeadPosition

Gets the location of a user's head relative to the human presence sensor, in terms of azimuth and altitude.

PersonId

Gets the unique ID assigned to the detected person.

Applies to