API reference

AbuseReport Class

The Abuse Report API provides a way for users to report abusive behavior or content within the platform. It allows developers to submit reports for various types of content, including users com.meta.horizon.platform.ovr.enums.AbuseReportType#User, or an object/content com.meta.horizon.platform.ovr.enums.AbuseReportType#Object.

Static Methods

reportRequestHandled ( response )
The currently running application has indicated they want to show their in-app reporting flow or that they choose to ignore the request.
Signature
static Request com.meta.horizon.platform.ovr.requests.AbuseReport.reportRequestHandled(ReportRequestResponse response)
Parameters
response: ReportRequestResponse  - Possible states that an app can respond to the platform notification that the in-app reporting flow has been requested by the user.
Returns
Request
setReportButtonPressedNotificationCallbacks ( onSuccess , onError )
The user has tapped the report button in the panel that appears after pressing the Oculus button.
Signature
static void com.meta.horizon.platform.ovr.requests.AbuseReport.setReportButtonPressedNotificationCallbacks(Request.Handler< String > onSuccess, Request.Handler< Error > onError)
Parameters
onSuccess: Request.Handler< String >
onError: Request.Handler< Error >
Returns
void