The Advanced Abuse Report Options provides 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
AdvancedAbuseReportOptions ( )
Creates a new instance of ::AdvancedAbuseReportOptions 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 SetDeveloperDefinedContext
( string key,
string value )
This field is intended to allow developers to pass custom metadata through the report flow. The metadata passed through is included with the report received by the developer.
void ClearDeveloperDefinedContext ( )
This method clears the DeveloperDefinedContext options associated with this instance, and the instance will be in its default state.
void SetObjectType
( string value )
If AbuseReportType is AbuseReportType.Object, a string representing the type of content being reported. This should correspond to the object_type string used in the UI.
Provide a list of users to suggest for reporting. This list should include users that the reporter has recently interacted with to aid them in selecting the right user to report.
void ClearSuggestedUsers ( )
This method clears the SuggestedUsers options associated with this instance, and the instance will be in its default state.
This operator allows you to pass an instance of the ::AdvancedAbuseReportOptions 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.