PowerManager.UserPresenceStatus Property

Definition

Gets the current user status associated with the app's session.

public:
 static property UserPresenceStatus UserPresenceStatus { UserPresenceStatus get(); };
static UserPresenceStatus UserPresenceStatus();
public static UserPresenceStatus UserPresenceStatus { get; }
var userPresenceStatus = PowerManager.userPresenceStatus;
Public Shared ReadOnly Property UserPresenceStatus As UserPresenceStatus

Property Value

The current user present status of the device.

Remarks

This property corresponds to the GUID_SESSION_USER_PRESENCE power setting GUID.

Applies to

See also