HumanPresenceSensorReadingUpdate 類別

定義

代表 從 HumanPresenceSensor 更新的單一讀取。

public ref class HumanPresenceSensorReadingUpdate sealed
/// [Windows.Foundation.Metadata.Activatable(983040, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HumanPresenceSensorReadingUpdate final
[Windows.Foundation.Metadata.Activatable(983040, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HumanPresenceSensorReadingUpdate
function HumanPresenceSensorReadingUpdate()
Public NotInheritable Class HumanPresenceSensorReadingUpdate
繼承
Object Platform::Object IInspectable HumanPresenceSensorReadingUpdate
屬性

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

建構函式

HumanPresenceSensorReadingUpdate()

初始化 HumanPresenceSensorReadingUpdate 物件的新實例。

屬性

DistanceInMillimeters

取得或設定 HumanPresenceSensor 與偵測到的使用者之間的更新距離。

Engagement

取得或設定使用者是否與裝置互動。

Presence

取得或設定是否偵測到主要使用者。

Timestamp

取得或設定感測器報告讀數的時間。

適用於

另請參閱