Package ej.util

Class Device


  • public class Device
    extends Object
    This class provides utility methods related to the device.
    • Method Detail

      • getArchitecture

        public static String getArchitecture()
        Returns the name of the architecture of the device.
        Returns:
        the name of the architecture of the device.
      • getId

        public static byte[] getId()
        Returns the ID of the device. This identifier is guaranteed to be unique to all devices with the same architecture.
        Returns:
        the ID of the device.
      • getVersion

        public static String getVersion()
        Returns the Version of the device. This can be a combination of hardware version(s) and version(s) of software already installed on the Device.
        Returns:
        the Version of the device.
      • reboot

        public static void reboot()
        Reboots the device.
      • shutdown

        public static void shutdown()
        Shutdowns the device.