HumanPresenceSettings.LockOptions Property

Definition

Gets the lock on leave options (whether a user is no longer detected by the human presence sensor) for the human presence sensor.

public:
 property LockOnLeaveOptions ^ LockOptions { LockOnLeaveOptions ^ get(); };
LockOnLeaveOptions LockOptions();
public LockOnLeaveOptions LockOptions { get; }
var lockOnLeaveOptions = humanPresenceSettings.lockOptions;
Public ReadOnly Property LockOptions As LockOnLeaveOptions

Property Value

The lock on leave options for the human presence sensor.

Remarks

Introduced in the May Moment update for Windows 11, Version 22H2, Build 22621.

The user can specify their preferred lock on leave behavior in the System settings (see Launch the Windows Settings app).

Applies to

See also