Share via


OnlookerDetectionOptions Class

Definition

Provides the ability to manage the onlooker detection behavior of the PC.

public ref class OnlookerDetectionOptions sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class OnlookerDetectionOptions final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class OnlookerDetectionOptions
Public NotInheritable Class OnlookerDetectionOptions
Inheritance
Object Platform::Object IInspectable OnlookerDetectionOptions
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).

Properties

Action

Gets or sets the onlooker detection action behavior.

BackOnMode

Gets or sets the onlooker detection back on mode setting.

Applies to

See also