public class DeviceNatives extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getArchitecture(byte[] buffer,
int bufferLength)
Fills the given buffer with the name of the architecture as a null-terminated
string.
|
static int |
getId(byte[] buffer,
int bufferLength)
Fills the given buffer with the ID of the device.
|
static void |
getVersion(byte[] buffer)
Fills the given buffer with the Version of the device as a null-terminated
string.
|
static void |
reboot()
Reboots the device.
|
static void |
shutdown()
Shutdowns the device.
|
public static boolean getArchitecture(byte[] buffer,
int bufferLength)
buffer - the buffer to fill with the name of the architecture.bufferLength - the size of the buffer.public static int getId(byte[] buffer,
int bufferLength)
buffer - the buffer to fill with the ID.bufferLength - the size of the buffer.public static void getVersion(byte[] buffer)
buffer - the buffer to fill with the Version.public static void reboot()
public static void shutdown()