HumanPresenceSensorReadingUpdate.OnlookerPresence Property
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.
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)
|