API reference
API reference
Select your platform
No SDKs available
No versions available

AccountAgeCategory

Updated: Aug 26, 2025

AccountAgeCategory

@Serializable
enum AccountAgeCategory : Enum<AccountAgeCategory>
The age category in a Meta account is used to determine eligibility for certain features and services. This information is important for ensuring that users are able to access the appropriate content and functionality based on their age. The values are used in horizon.platform.useragecategory.models.UserAccountAgeCategory API. See more details here.

Entries

NameSummary
@SerialName(value = "UNKNOWN")
Unknown
Represents that the AccountAgeCategory is unknown.
@SerialName(value = "CH")
Ch
Child age group for users between the ages of 10-12 (or applicable age in user’s region).
@SerialName(value = "TN")
Tn
Teenage age group for users between the ages of 13-17 (or applicable age in user’s region).
@SerialName(value = "AD")
Ad
Adult age group for users ages 18 and up (or applicable age in user’s region).

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
value
val value: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): AccountAgeCategory
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<AccountAgeCategory>
Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon