Dela via


HumanPresenceFeatures Class

Definition

Represents the system settings supported by a human presence sensor.

public ref class HumanPresenceFeatures sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HumanPresenceFeatures final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HumanPresenceFeatures
Public NotInheritable Class HumanPresenceFeatures
Inheritance
Object Platform::Object IInspectable HumanPresenceFeatures
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Properties

IsAdaptiveDimmingSupported

Gets whether the human presence sensor can dim the PC screen based on if a user is present, absent, or interacting with their device.

IsAttentionAwareDimmingSupported

This property is obsolete. For more information, see Remarks.

Gets whether the human presence sensor can dim the screen of the PC when user interaction is not detected for a period of time.

IsLockOnLeaveSupported

Gets whether the human presence sensor can lock the PC when a user leaves it unattended.

IsWakeOnApproachSupported

Gets whether the human presence sensor can wake the PC on a user's approach.

SensorId

Gets the unique ID of the human presence sensor.

SupportedWakeOrLockDistancesInMillimeters

Gets the distances supported by the human presence sensor to wake or lock the PC.

Applies to

See also