OnlookerDetectionBackOnMode Enum
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.
If onlooker detection is turned off, the back on mode can automatically reenable the feature after a set period. The user can choose to manually re-enabled asdesired, or have the feature reactivate automatically after 1 hour, 4 hours, or 1 day.
public enum class OnlookerDetectionBackOnMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.Experimental]
enum class OnlookerDetectionBackOnMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.Experimental]
public enum OnlookerDetectionBackOnMode
var value = Windows.Devices.Sensors.OnlookerDetectionBackOnMode.manually
Public Enum OnlookerDetectionBackOnMode
- Inheritance
-
OnlookerDetectionBackOnMode
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
Fields
Name | Value | Description |
---|---|---|
Manually | 0 | User will manually renable the onlooker detection feature |
OneHour | 1 | After one hour the onlooker detection feature will be activated again |
FourHours | 2 | After four hours the onlooker detection feature will be activated again |
OneDay | 3 | After one day the onlooker detection feature will be activated again |