Packages

object DeviceClass extends ThriftEnumObject[DeviceClass] with Product with Serializable

This class is designed to match the DeviceClass returned from our user agent parsing library yauaa (see https://github.com/nielsbasjes/yauaa/blob/0fb59d61f5de6d9e77d7e78e1c5b153bdc6ed2aa/analyzer/src/main/java/nl/basjes/parse/useragent/classify/DeviceClass.java#L20). Values added to this class should reflect what is in the yauaa class, we should not pollute it with values which do not represent devices like the GUARDIAN_ANDROID_NATIVE_APP found in ua.thrift

Annotations
@Generated()
Linear Supertypes
Serializable, Serializable, Product, Equals, ThriftEnumObject[DeviceClass], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeviceClass
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ThriftEnumObject
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class EnumUnknownDeviceClass(value: Int) extends DeviceClass with EnumItemUnknown with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val annotations: Map[String, String]
  5. def apply(value: Int): DeviceClass

    Find the enum by its integer value, as defined in the Thrift IDL.

    Find the enum by its integer value, as defined in the Thrift IDL.

    Definition Classes
    DeviceClass → ThriftEnumObject
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(value: Int): Option[DeviceClass]

    Find the enum by its integer value, as defined in the Thrift IDL.

    Find the enum by its integer value, as defined in the Thrift IDL. Returns None if the value is not found

    Definition Classes
    DeviceClass → ThriftEnumObject
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getOrUnknown(value: Int): DeviceClass

    Find the enum by its integer value, as defined in the Thrift IDL.

    Find the enum by its integer value, as defined in the Thrift IDL. returns an EnumUnknownDeviceClass(value) if the value is not found. In particular this allows ignoring new values added to an enum in the IDL on the producer side when the consumer was not updated.

    Definition Classes
    DeviceClass → ThriftEnumObject
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. lazy val list: List[DeviceClass]
    Definition Classes
    DeviceClass → ThriftEnumObject
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def valueOf(name: String): Option[DeviceClass]
    Definition Classes
    DeviceClass → ThriftEnumObject
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  24. object Anonymized extends DeviceClass with Product with Serializable

    In some cases the useragent has been altered by anonimization software.

  25. object Desktop extends DeviceClass with Product with Serializable

    The device is assessed as a Desktop/Laptop class device.

  26. object Mobile extends DeviceClass with Product with Serializable

    A device that is mobile yet we do not know if it is a eReader/Tablet/Phone or Watch.

  27. object Phone extends DeviceClass with Product with Serializable

    A mobile device with a small screen (common < 7").

  28. object Tablet extends DeviceClass with Product with Serializable

    A mobile device with a rather large screen (common > 7").

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ThriftEnumObject[DeviceClass]

Inherited from AnyRef

Inherited from Any

Ungrouped