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

AdvancedAbuseReportOptions Class

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 com.meta.horizon.platform.ovr.enums.AbuseReportType#User or an com.meta.horizon.platform.ovr.enums.AbuseReportType#Object, helping to maintain a safe and respectful community within their application.

Member Functions

AdvancedAbuseReportOptions ( )
long getHandle ( )
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 ( )
If AbuseReportType is com.meta.horizon.platform.ovr.enums.AbuseReportType#Object, a string representing the type of content being reported. This should correspond to the object_type string used in the UI.
The intended entity type AbuseReportType being reported, it can be either a user com.meta.horizon.platform.ovr.enums.AbuseReportType#User or an object/content com.meta.horizon.platform.ovr.enums.AbuseReportType#Object.
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 ( )
The video mode AbuseReportVideoMode controls whether or not the abuse report flow should collect evidence and whether it is optional or not. com.meta.horizon.platform.ovr.enums.AbuseReportVideoMode#Collect requires video evidence to be provided by the user. com.meta.horizon.platform.ovr.enums.AbuseReportVideoMode#Optional presents the user with the option to provide video evidence. com.meta.horizon.platform.ovr.enums.AbuseReportVideoMode#Skip bypasses the video evidence collection step altogether.

Protected Functions

void finalize ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon