UserConnectionStatus

@objc(SBDUserConnectionStatus)
public enum UserConnectionStatus : Int
extension UserConnectionStatus: RawRepresentable, Codable

User connection statuses for User.

  • For unavailable user.

    Declaration

    Swift

    case nonAvailable = 0
  • For on-line user.

    Declaration

    Swift

    case online = 1
  • For off-line user.

    Declaration

    Swift

    case offline = 2
  • Declaration

    Swift

    public typealias RawValue = Bool?
  • Declaration

    Swift

    public init(rawValue: Bool?)
  • Declaration

    Swift

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