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.

Member Functions

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.
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.
The intended entity type AbuseReportType being reported, it can be either a user AbuseReportType.User or an object/content AbuseReportType.Object.

Static Member Functions

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.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon