Device

final public class Device

Immutable Model for a user’s Device(s)

  • Device Name

    Declaration

    Swift

    public internal(set) var name : String?
  • os

    Operating System

    Declaration

    Swift

    public internal(set) var os : String?
  • OS Version

    Declaration

    Swift

    public internal(set) var version : String?
  • Device Model

    Declaration

    Swift

    public internal(set) var model : String?
  • 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

    public var description : String
  • CustomDebugStringConvertible

    Declaration

    Swift

    public var debugDescription : String