共用方式為


HumanPresenceSensorReading.Presence 屬性

定義

取得是否偵測到使用者。

public:
 property HumanPresence Presence { HumanPresence get(); };
HumanPresence Presence();
public HumanPresence Presence { get; }
var humanPresence = humanPresenceSensorReading.presence;
Public ReadOnly Property Presence As HumanPresence

屬性值

HumanPresenceSensor所報告的偵測狀態。

適用於