HumanPresenceSensorReading.DetectedPersons Property

Definition

Gets a collection of all detected persons (primary user and otherwise).

public:
 property IVectorView<DetectedPerson ^> ^ DetectedPersons { IVectorView<DetectedPerson ^> ^ get(); };
IVectorView<DetectedPerson> DetectedPersons();
public IReadOnlyList<DetectedPerson> DetectedPersons { get; }
var iVectorView = humanPresenceSensorReading.detectedPersons;
Public ReadOnly Property DetectedPersons As IReadOnlyList(Of DetectedPerson)

Property Value

A collection of all detected persons (primary user and otherwise).

Windows requirements

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

Applies to

See also