Поделиться через


HumanPresenceSettings.OnlookerDetectionOptions Property

Definition

Gets the onlooker detection options for the human presence sensor.

public:
 property OnlookerDetectionOptions ^ OnlookerDetectionOptions { OnlookerDetectionOptions ^ get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
OnlookerDetectionOptions OnlookerDetectionOptions();
[Windows.Foundation.Metadata.Experimental]
public OnlookerDetectionOptions OnlookerDetectionOptions { [Windows.Foundation.Metadata.Experimental] get; }
var onlookerDetectionOptions = humanPresenceSettings.onlookerDetectionOptions;
Public ReadOnly Property OnlookerDetectionOptions As OnlookerDetectionOptions

Property Value

The onlooker detection options for the human presence sensor.

Attributes

Windows requirements

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

Remarks

The user can specify their preferred onlooker detection behavior in the System settings (see Launch the Windows Settings app).

Applies to

See also