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

OVR_Requests_UserAgeCategory.h File

Overview

Details

Functions

ovrRequest ovr_UserAgeCategory_Get ( )
Retrieve the user age category for the current user.
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().
ovrRequest ovr_UserAgeCategory_Report
( ovrAppAgeCategory age_category )
Report the current user's age category to Meta.
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!