DeviceType

public enum DeviceType
extension DeviceType: Equatable, Hashable

Enumeration for the different types of device.

Firefox Accounts separates devices into broad categories for display purposes, such as distinguishing a desktop PC from a mobile phone. Upon signin, the application should inspect the device it is running on and select an appropriate [DeviceType] to include in its device registration record.

  • Declaration

    Swift

    case desktop
  • Declaration

    Swift

    case mobile
  • Declaration

    Swift

    case tablet
  • vr

    Declaration

    Swift

    case vr
  • tv

    Declaration

    Swift

    case tv
  • Declaration

    Swift

    case unknown