File PlatformValidator.java¶
Definition (PlatformValidator.java)¶
Classes¶
Full File Listing¶
-
namespace platformvalidator¶
-
class PlatformValidator¶
PlatformValidator class - top level APIs of the SNPE Platform Validator.
Public Functions
-
inline PlatformValidator()¶
- inline PlatformValidator (final PlatformValidatorUtil.Runtime runtime)
- inline boolean isRuntimeAvailable (final Application application)
Checks if the runtime associated with the object is available or not
- Parameters
Application – context of the caller
- Returns
True if runtime is available otherwise false
- inline String coreVersion (final Application application)
Checks core version of the runtime
- Parameters
Application – context of the caller
- Returns
Coreversion string of the runtime
- inline String libVersion (final Application application)
Checks library version of the runtime
- Parameters
Application – context of the caller
- Returns
library version string of the runtime
- inline boolean runtimeCheck (final Application application)
Checks SNPE runtime availability
- Parameters
Application – context of the caller
- Returns
True if runtime is available otherwise false
Private Functions
- inline void init (final Application application)
Private Static Functions
- static native boolean nativeInit (int runtime, String nativeLibraryDir)
- static native boolean nativeIsRuntimeAvailable ()
- static native String nativeCoreVersion ()
- static native String nativeLibVersion ()
- static native boolean nativeRuntimeCheck ()
-
inline PlatformValidator()¶
-
class PlatformValidator¶