HumanPresenceSensorReading 類別

定義

代表 HumanPresenceSensor 的單一讀取。

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

Windows 需求

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

屬性

DetectedPersons

取得所有偵測到的人員集合, (主要使用者,否則) 。

DistanceInMillimeters

取得 HumanPresenceSensor 與偵測到的使用者之間的距離。

Engagement

取得使用者是否參與裝置。

OnlookerPresence

取得主要使用者以外的人員是否偵測到並與裝置互動。

Presence

取得是否偵測到使用者。

Properties

取得指派給讀取的屬性集合。

Timestamp

取得感測器回報讀數的時間。

適用於

另請參閱