Package ej.util
Class Device
- java.lang.Object
-
- ej.util.Device
-
public class Device extends java.lang.ObjectMocked device.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcleanDeviceIdCache()Call this method to clean the cache for the device ID.static java.lang.StringgetArchitectureName()Returns the name of the architecture in a String.static byte[]getId()Returns the device ID.static java.lang.StringgetVersion()Returns the device version.
-
-
-
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.
-
-