How to use categories in Managed Settings (ActivityCategoryToken)

I'm trying to build an App using Managed Settings. I've successfully implemented the Authorisation for Family Controls. What I don't get is how to handle categories. In the examples from WWDC2022 (https://developer.apple.com/videos/play/wwdc2022/110336/) it's stated to call :

let gamingCategory = ActivityCategoryToken(...)

What exactly is the use of this? And what's the parameters necessary for calling it?

Thanks in advance

An ActivityCategory token can't be created by your app, instead they are selected by the user when your app presents a FamilyActivityPicker. The user's selections in the picker are returned to your app as a FamilyActivitySelection. The user's selected categories can then be used to apply shield settings using a ManagedSettingsStore.

How to use categories in Managed Settings (ActivityCategoryToken)
 
 
Q