public class SystemInfo
extends java.lang.Object
Constructor and Description |
---|
SystemInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfCores()
Returns number of cores.
|
static SystemInfo |
getSystemInfo() |
boolean |
isLocationEnabled()
Checks if the location is enabled.
|
boolean |
isRunningOnPhone()
Checks if we're running on a phone
|
boolean |
isRunningOnTablet()
Checks if we're running on a tablet
|
public static SystemInfo getSystemInfo()
public boolean isRunningOnTablet()
public boolean isRunningOnPhone()
public int getNumberOfCores()
public boolean isLocationEnabled()