HumanPresenceSensorReading クラス

定義

HumanPresenceSensor からの 1 つの読み取りを表します。

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

センサーが読み取りを報告した時刻を取得します。

適用対象

こちらもご覧ください