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

AbuseReportOptions Class

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 AbuseReportType.User or an AbuseReportType.Object, helping to maintain a safe and respectful community within their application.

Constructors

AbuseReportOptions ()
Creates a new instance of ::AbuseReportOptions 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.
Signature
Oculus.Platform.AbuseReportOptions.AbuseReportOptions()

Methods

SetPreventPeopleChooser ( value )
Set whether or not to show the user selection step. If the reported object is a user, they can choose to block the reported user from further interactions within the platform.
Signature
void Oculus.Platform.AbuseReportOptions.SetPreventPeopleChooser(bool value)
Parameters
value: bool
Returns
void
SetReportType ( value )
The intended entity type AbuseReportType being reported, it can be either a user AbuseReportType.User or an object/content AbuseReportType.Object.
Signature
void Oculus.Platform.AbuseReportOptions.SetReportType(AbuseReportType value)
Parameters
Returns
void

Static Methods

operator IntPtr ( options )
This operator allows you to pass an instance of the ::AbuseReportOptions class to native C code as an IntPtr. The operator returns the handle of the options object, or IntPtr.Zero if the object is null.
Signature
static Oculus.Platform.AbuseReportOptions.operator IntPtr(AbuseReportOptions options)
Parameters