HumanPresence Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the possible detection states supported by a HumanPresenceSensor.
public enum class HumanPresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
enum class HumanPresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
public enum HumanPresence
var value = Windows.Devices.Sensors.HumanPresence.unknown
Public Enum HumanPresence
- Inheritance
-
HumanPresence
- Attributes
Windows requirements
Device family |
Windows 11 Insider Preview (introduced in 10.0.23504.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v15.0)
|
Fields
NotPresent | 2 | Human presence is not detected. |
Present | 1 | Human presence is detected. |
Unknown | 0 | Human presence is unknown. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for