Rating

@objc(FeedbackRating)
public enum Rating : Int, RawRepresentable, CustomStringConvertible, Codable

the enum type to represent rating of message.

Since

4.14.0
  • Declaration

    Swift

    public typealias RawValue = String
  • Undocumented

    Declaration

    Swift

    case good
  • bad

    Undocumented

    Declaration

    Swift

    case bad
  • Rating string description

    Declaration

    Swift

    public var description: String { get }
  • optional initializer

    Declaration

    Swift

    public init?(rawValue: String)

    Parameters

    rawValue

    specific string value for rating.

  • Rating string rawValue.

    Declaration

    Swift

    public var rawValue: String { get }
  • 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