-api-id | -api-type |
---|---|
P:Windows.Devices.Sensors.HumanPresenceSettings.IsLockOnLeaveEnabled |
winrt property |
Gets or sets whether the human presence sensor can lock the PC if it detects the user has left it unattended.
True, if lock on leave is enabled. Otherwise, false. The default is false.
HumanPresenceFeatures.IsLockOnLeaveSupported, HumanPresenceFeatures.SupportedWakeOrLockDistancesInMillimeters, GetSupportedLockOnLeaveTimeouts, LockOnLeaveDistanceInMillimeters, LockOnLeaveTimeout