OnlookerDetectionOptions Class
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.
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
- 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. |