UserPresenceStatus 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.
Defines values that represent the user status associated with the app's session.
public enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class UserPresenceStatus
[Windows.Foundation.Metadata.Version(1)]
public enum UserPresenceStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum UserPresenceStatus
var value = Microsoft.Windows.System.Power.UserPresenceStatus.present
Public Enum UserPresenceStatus
- Inheritance
-
UserPresenceStatus
- Attributes
Fields
Absent | 1 | The user is absent. |
Present | 0 | The user is present. |
Remarks
This enum corresponds to the GUID_SESSION_USER_PRESENCE power setting GUID.
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