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

UserAgeCategory Class

Modifiers: final
Users are divided into three categories based on their age: -AccountAgeCategory.Ch: Child age group for users between the ages of 10-12 (or applicable age in user's region). -AccountAgeCategory.Tn: Teenage age group for users between the ages of 13-17 (or applicable age in user's region). -AccountAgeCategory.Ad: Adult age group for users ages 18 and up (or applicable age in user's region).

Signature

class UserAgeCategory

Constructors

UserAgeCategory ()
Signature
constructor()
Returns
UserAgeCategory

Functions

get ()
Retrieve the user age category for the current user. It can be used in UserAccountAgeCategory.ageCategory
Signature
suspend fun get(): UserAccountAgeCategory
Returns
UserAccountAgeCategory
The user age category for the current user.