ReportCategory
@available(*, deprecated, message: "This enum is deprecated with `ReportCategoryInfo` in 4.23.0.")
public enum ReportCategory: Int
extension ReportCategory: RawRepresentable, Codable
Categories of reporting reasons
Since
3.0.154-
Report suspicious content
Declaration
Swift
case suspicious = 0
-
Report harassing content.
Declaration
Swift
case harassing = 1
-
Report spam content
Declaration
Swift
case spam = 2
-
Report inappropriate content
Declaration
Swift
case inappropriate = 3
-
Declaration
Swift
public typealias RawValue = String
-
Declaration
Swift
public var rawValue: String
-
Declaration
Swift
public init?(rawValue: String)
-
Default constructor.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
Decoder
instance -
Encodes this object.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance