XUserAgeGroup

Specifies the age group of a user.

Syntax

enum class XUserAgeGroup  : uint32_t  
{  
    Unknown = 0,  
    Child = 1,  
    Teen = 2,  
    Adult = 3,  
}  

Constants

Constant Description
Unknown User age is unknown.
Child User is a child.
Teen User is a teen.
Adult User is an adult.

Remarks

To get the age group for a user, call the XUserGetAgeGroup function. The XUserGetAgeGroup function accepts a pointer to an XUserAgeGroup enumeration as an argument. The XUserGetAgeGroup function returns a pointer to an XUserAgeGroup enumeration that represents the age group of the user.

Requirements

Header: XUser.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XUser

XUserGetAgeGroup