User

public class User : ObservableObject, CustomDebugStringConvertible, Equatable

An object representing a user.

  • uid

    The identifier of this user.

    Declaration

    Swift

    @Published
    public var uid: OrangeChatKey { get set }
  • The phone number of this user.

    Declaration

    Swift

    @Published
    public var msisdn: String { get set }
  • The name of this user.

    Declaration

    Swift

    @Published
    public var name: String { get set }
  • The last connection date of this user.

    Declaration

    Swift

    @Published
    public var lastConnectionDate: WebcomDate { get set }
  • The status of this user.

    Declaration

    Swift

    @Published
    public var status: DataUserStatus { get set }
  • Default initializer.

    Declaration

    Swift

    public init(uid: OrangeChatKey, msisdn: String, name: String, lastConnectionDate: WebcomDate, status: DataUserStatus)
  • Declaration

    Swift

    public var debugDescription: String { get }
  • Declaration

    Swift

    public static func == (lhs: User, rhs: User) -> Bool