API reference

OVR_AbuseReportOptions.h File

Typedefs

struct ovrAbuseReportOptions * ovrAbuseReportOptionsHandle
The Abuse Report Options provide a way for developers to customize the reporting flow and specify the type of content being reported, which can be either a ovrAbuseReportType_User or an ovrAbuseReportType_Object, helping to maintain a safe and respectful community within their application.

Functions

ovrAbuseReportOptionsHandle ovr_AbuseReportOptions_Create ( )
Creates a new instance of ovrAbuseReportOptionsHandle() which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
void ovr_AbuseReportOptions_Destroy
Destroys an existing instance of the ovrAbuseReportOptionsHandle() and frees up memory when you're done using it.
void ovr_AbuseReportOptions_SetPreventPeopleChooser
bool value )
Set whether or not to show the user selection step in the ovr_AbuseReport_LaunchAdvancedReportFlow(). If the reported object is a user, they can choose to block the reported user from further interactions within the platform.
void ovr_AbuseReportOptions_SetReportType
The intended entity type ovrAbuseReportType_AbuseReportType being reported, it can be either a user ovrAbuseReportType_User or an object/content ovrAbuseReportType_Object.