Package ej.util

Class Device


  • public class Device
    extends java.lang.Object
    Mocked device.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void cleanDeviceIdCache()
      Call this method to clean the cache for the device ID.
      static java.lang.String getArchitectureName()
      Returns the name of the architecture in a String.
      static byte[] getId()
      Returns the device ID.
      static java.lang.String getVersion()
      Returns the device version.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getArchitectureName

        public static java.lang.String getArchitectureName()
        Returns the name of the architecture in a String.
        Returns:
        name of the architecture.
      • getId

        public static byte[] getId()
        Returns the device ID.
        Returns:
        deviceID.
      • getVersion

        public static java.lang.String getVersion()
        Returns the device version.
        Returns:
        version.
      • cleanDeviceIdCache

        public static void cleanDeviceIdCache()
        Call this method to clean the cache for the device ID.

        This is necessary with you change the property used to compute the device ID.