Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the current state of the user.
Syntax
enum class XUserState : uint32_t
{
SignedIn = 0,
SigningOut = 1,
SignedOut = 2,
}
Constants
Constant | Description |
---|---|
SignedIn | The user is signed in. |
SigningOut | The user is signing out. |
SignedOut | The user is signed out. |
Remarks
To get the state of a given user, call the XUserGetState function. The function accepts a pointer to an XUserState enumeration as an argument.
To monitor changes in the state of a user, subscribe to XUserChangeEvent by calling XUserRegisterForChangeEvent.
Requirements
Header: XUser.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles