API reference

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 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.

Constructors

AbuseReportOptions ()
Signature
com.meta.horizon.platform.ovr.options.AbuseReportOptions.AbuseReportOptions()

Protected Methods

finalize ()
Signature
void com.meta.horizon.platform.ovr.options.AbuseReportOptions.finalize()
Returns
void

Methods

getHandle ()
Signature
long com.meta.horizon.platform.ovr.options.AbuseReportOptions.getHandle()
Returns
long
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
AbuseReportOptions com.meta.horizon.platform.ovr.options.AbuseReportOptions.setPreventPeopleChooser(boolean value)
Parameters
value: boolean
setReportType ( value )
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.
Signature
AbuseReportOptions com.meta.horizon.platform.ovr.options.AbuseReportOptions.setReportType(AbuseReportType value)
Parameters
value: AbuseReportType