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);
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
/// [set: Windows.Foundation.Metadata.Experimental]
IReference<HumanPresence> OnlookerPresence();
void OnlookerPresence(IReference<HumanPresence> value);
public System.Nullable<HumanPresence> OnlookerPresence { get; set; }
[Windows.Foundation.Metadata.Experimental]
public System.Nullable<HumanPresence> OnlookerPresence { [Windows.Foundation.Metadata.Experimental] get; [Windows.Foundation.Metadata.Experimental] 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.
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|