LightSensorDataThreshold 類別

定義

提供淺色資料閾值的存取權, (也稱為變更敏感度) 。

public ref class LightSensorDataThreshold sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LightSensorDataThreshold final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LightSensorDataThreshold
Public NotInheritable Class LightSensorDataThreshold
繼承
Object Platform::Object IInspectable LightSensorDataThreshold
屬性

Windows 需求

裝置系列
Windows 10, version 2004 (已於 10.0.19041.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v10.0 引進)

備註

閾值可用來設定感應器硬體如何篩選傳送至應用程式的資料。 應用程式可以設定閾值,讓硬體篩選掉感應器資料中任何不相關的變更。

屬性

AbsoluteLux

取得或設定以 lux (lux) 達到閾值所需的最小變更,以 lux 的絕對單位測量。

LuxPercentage

取得或設定在 light (lux) 所需的最小變更,以百分比為單位。

適用於

另請參閱