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

AbuseReportOptions

Updated: Aug 26, 2025

AbuseReportOptions

data class AbuseReportOptions(var preventPeopleChooser: Boolean = false, var reportType: AbuseReportType = AbuseReportType.Unknown)
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 horizon.platform.abusereport.enums.AbuseReportType.user or an horizon.platform.abusereport.enums.AbuseReportType.object, helping to maintain a safe and respectful community within their application.

Constructors

NameSummary
AbuseReportOptions
constructor(preventPeopleChooser: Boolean = false, reportType: AbuseReportType = AbuseReportType.Unknown)

Properties

NameSummary
preventPeopleChooser
var preventPeopleChooser: Boolean
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.
reportType
var reportType: AbuseReportType
The intended entity type horizon.platform.abusereport.enums.AbuseReportType being reported, it can be either a user horizon.platform.abusereport.enums.AbuseReportType.user or an object/content horizon.platform.abusereport.enums.AbuseReportType.object.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon