HumanPresenceFeatures.IsAttentionAwareDimmingSupported Property
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.
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.
public:
property bool IsAttentionAwareDimmingSupported { bool get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use IsAdaptiveDimmingSupported instead of IsAttentionAwareDimmingSupported.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 983040, "Windows.Foundation.UniversalApiContract")]
bool IsAttentionAwareDimmingSupported();
public bool IsAttentionAwareDimmingSupported { [Windows.Foundation.Metadata.Deprecated("Use IsAdaptiveDimmingSupported instead of IsAttentionAwareDimmingSupported.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 983040, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = humanPresenceFeatures.isAttentionAwareDimmingSupported;
Public ReadOnly Property IsAttentionAwareDimmingSupported As Boolean
Property Value
bool
True, if supported. Otherwise, false. The default is false.
- Attributes
Remarks
Obsolete as of 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).