ChannelType

@objc(SBDChannelType)
public enum ChannelType : Int
extension ChannelType: RawRepresentable, CustomStringConvertible, Codable

Channel types.

  • Open channel.

    Declaration

    Swift

    case open = 0
  • Group channel.

    Declaration

    Swift

    case group = 1
  • Feed channel.

    Since

    4.6.0

    Declaration

    Swift

    case feed = 2
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public var rawValue: String { get }
  • Undocumented

    Declaration

    Swift

    public var intValue: Int { get }
  • 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