Device

final public class Device : CustomStringConvertible, CustomDebugStringConvertible, ExtendedEquatable

Immutable Model for a User’s Device

  • Device Name

    Declaration

    Swift

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

    Operating System

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public internal(set) var model: String? {
      get
      }
  • Last used

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public var description: String { get }
  • CustomDebugStringConvertible

    Declaration

    Swift

    public var debugDescription: String { get }