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
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

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