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

AbuseReport

Updated: Oct 30, 2025

AbuseReport

class AbuseReport
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 horizon.platform.abusereport.enums.AbuseReportType.user, or an object/content horizon.platform.abusereport.enums.AbuseReportType.object.

Constructors

NameSummary
AbuseReport
constructor()

Types

NameSummary
Companion
object Companion

Functions

NameSummary
reportButtonPressed
fun reportButtonPressed(): Flow<String>
The user has tapped the report button in the panel that appears after pressing the Oculus button.
reportRequestHandled
suspend fun reportRequestHandled(response: ReportRequestResponse)
The currently running application has indicated they want to show their in-app reporting flow or that they choose to ignore the request.

Companion

object Companion