Udostępnij za pośrednictwem


HumanPresenceFeatures.IsAdaptiveDimmingSupported Property

Definition

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

public:
 property bool IsAdaptiveDimmingSupported { bool get(); };
bool IsAdaptiveDimmingSupported();
public bool IsAdaptiveDimmingSupported { get; }
var boolean = humanPresenceFeatures.isAdaptiveDimmingSupported;
Public ReadOnly Property IsAdaptiveDimmingSupported As Boolean

Property Value

Boolean

bool

True, if adaptive dimming is supported. Otherwise, false.

Remarks

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

We recommend using the AdaptiveDimming APIs instead of the AttentionAwareDimming APIs (IsAttentionAwareDimmingSupported, IsAttentionAwareDimmingEnabled), which are now obsolete.

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

Applies to

See also