public class PlatformUtil extends Object
Constructor and Description |
---|
PlatformUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getEmbeddedType()
Returns a string with the embedded type - ie eglx11, eglfb, dfb or null.
|
static boolean |
isAndroid() |
static boolean |
isEmbedded()
Returns true if the platform is embedded.
|
static boolean |
isIOS()
Returns true if the operating system is iOS
|
static boolean |
isLinux()
Returns true if the operating system is a form of Linux.
|
static boolean |
isMac()
Returns true if the operating system is a form of Mac OS.
|
static boolean |
isSolaris()
Returns true if the operating system is a form of Unix, including Linux.
|
static boolean |
isUnix()
Returns true if the operating system is a form of Linux or Solaris
|
static boolean |
isWin7OrLater()
Returns true if the operating system is at least Windows 7(v6.1).
|
static boolean |
isWindows()
Returns true if the operating system is a form of Windows.
|
static boolean |
isWinVistaOrLater()
Returns true if the operating system is at least Windows Vista(v6.0).
|
static boolean |
useEGL() |
static boolean |
useEGLWindowComposition() |
static boolean |
useGLES2() |
public static boolean isWindows()
public static boolean isWinVistaOrLater()
public static boolean isWin7OrLater()
public static boolean isMac()
public static boolean isLinux()
public static boolean useEGL()
public static boolean useEGLWindowComposition()
public static boolean useGLES2()
public static boolean isSolaris()
public static boolean isUnix()
public static boolean isEmbedded()
public static String getEmbeddedType()
public static boolean isIOS()
public static boolean isAndroid()
Copyright © 2020. All rights reserved.