Share via


HumanPresenceFeatures.IsAttentionAwareDimmingSupported 屬性

定義

這個屬性已經過時。 如需詳細資訊,請參閱

取得當使用者互動未偵測到一段時間時,人類目前狀態感應器是否可以將電腦的螢幕變暗。

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

屬性值

Boolean

bool

如果支援,則為 True。 否則為 false。 預設值為 false。

屬性

備註

自 Windows 11 版本 22H2 組建 22621 的 May Moment 更新起已過時。

我們建議使用 AdaptiveDimming API 而不是 AttentionAwareDimming API (IsAttentionAwareDimmingSupportedIsAttentionAwareDimmingEnabled) ,現在已過時。

使用者可以在 [系統設定] 中指定其慣用的暗灰色行為, (請參閱 啟動 Windows 設定應用程式) 。

適用於

另請參閱