UserDevice

public class UserDevice : Device

Immutable Model for a User’s Device

  • Last used

    Declaration

    Swift

    public internal(set) var lastUsed: String?
  • Is current device

    Declaration

    Swift

    public internal(set) var currentDevice: Bool?
  • Device status

    Declaration

    Swift

    public internal(set) var userStatus: User.Status?
  • CustomStringConvertible

    Declaration

    Swift

    override public var description: String { get }