| Name | Summary |
|---|---|
AdvancedAbuseReportOptions | constructor(developerDefinedContext: Map<String, String> = mapOf(), objectType: String = "", reportType: AbuseReportType = AbuseReportType.Unknown, suggestedUsers: MutableList<String> = mutableListOf(), videoMode: AbuseReportVideoMode = AbuseReportVideoMode.Unknown) |
| Name | Summary |
|---|---|
developerDefinedContext | |
objectType | var objectType: String If horizon.platform.abusereport.enums.AbuseReportType is horizon.platform.abusereport.enums.AbuseReportType.object, a string representing the type of content being reported. This should correspond to the object_type string used in the UI. |
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. |
suggestedUsers | var suggestedUsers: MutableList<String> 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. |
videoMode | var videoMode: AbuseReportVideoMode The video mode horizon.platform.abusereport.enums.AbuseReportVideoMode controls whether or not the abuse report flow should collect evidence and whether it is optional or not. horizon.platform.abusereport.enums.AbuseReportVideoMode.collect requires video evidence to be provided by the user. horizon.platform.abusereport.enums.AbuseReportVideoMode.optional presents the user with the option to provide video evidence. horizon.platform.abusereport.enums.AbuseReportVideoMode.skip bypasses the video evidence collection step altogether. |
| Name | Summary |
|---|---|
addSuggestedUser | fun addSuggestedUser(value: String) |
clearSuggestedUsers | fun clearSuggestedUsers() |