Share via


HumanPresenceSensorReadingUpdate.OnlookerPresence Property

Definition

Gets or sets whether an onlooker is detected.

public:
 property IReference<HumanPresence> ^ OnlookerPresence { IReference<HumanPresence> ^ get(); void set(IReference<HumanPresence> ^ value); };
IReference<HumanPresence> OnlookerPresence();

void OnlookerPresence(IReference<HumanPresence> value);
public System.Nullable<HumanPresence> OnlookerPresence { get; set; }
var iReference = humanPresenceSensorReadingUpdate.onlookerPresence;
humanPresenceSensorReadingUpdate.onlookerPresence = iReference;
Public Property OnlookerPresence As Nullable(Of HumanPresence)

Property Value

The onlooker state is reported by a HumanPresenceSensor.

Windows requirements

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

Applies to

See also