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

OVR_Requests_UserAgeCategory.h File

Functions

Retrieve the user age category for the current user. It can be used in ovr_UserAccountAgeCategory_GetAgeCategory()A message with type ovrMessage_UserAgeCategory_Get will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrUserAccountAgeCategoryHandle. Extract the payload from the message handle with ovr_Message_GetUserAccountAgeCategory().
Report the current user's age category to Meta.
Parameters
age_category
Age category for developers to send to Meta. There are two members, children age group (ovrAppAgeCategory_Ch) and non-children age group (ovrAppAgeCategory_Nch).
A message with type ovrMessage_UserAgeCategory_Report will be generated in response.First call ovr_Message_IsError() to check if an error occurred.This response has no payload. If no error occurred, the request was successful. Yay!
Did you find this page helpful?
Thumbs up icon
Thumbs down icon