Class PlatformValidator

Class Documentation

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