BlinkID C SDK version 5.16.0
RecognizerApiUtils.h
Go to the documentation of this file.
1
14#ifndef RECOGNIZERAPIUTILS_H_
15#define RECOGNIZERAPIUTILS_H_
16
17#include "RecognizerError.h"
18
19#ifdef __ANDROID__
20#include "jni.h"
21#endif
22
23#ifdef __APPLE__
24# include <TargetConditionals.h>
25#endif
26
27#ifdef __cplusplus
28extern "C"
29{
30#endif
31
36MB_API char const * MB_CALL recognizerAPIGetVersionString();
37
45MB_API MBRecognizerErrorStatus MB_CALL recognizerAPISetResourcesLocation( char const * resourcePath );
46
47#if defined( __DOXYGEN__ ) || ( !defined( __ANDROID__ ) && !( defined( __APPLE__ ) && TARGET_OS_IPHONE ) )
68MB_API MBRecognizerErrorStatus MB_CALL recognizerAPISetCacheLocation( char const * cacheFolder );
69#endif
70
71#if defined( __ANDROID__ ) || defined( __DOXYGEN__ )
82MB_API void MB_CALL recognizerAPIInitializeAndroidApplication( JNIEnv * env, jobject applicationContext );
83#endif
84
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif
MB_API char const *MB_CALL recognizerAPIGetVersionString()
Returns the library version string.
MB_API void MB_CALL recognizerAPIInitializeAndroidApplication(JNIEnv *env, jobject applicationContext)
Sets the JNI application context to the SDK. This is required in order for SDK to be able to load res...
MB_API MBRecognizerErrorStatus MB_CALL recognizerAPISetResourcesLocation(char const *resourcePath)
Sets the location where required resources will be loaded from. If not set, "res" folder within curre...
MB_API MBRecognizerErrorStatus MB_CALL recognizerAPISetCacheLocation(char const *cacheFolder)
Sets the location where cache files will be stored on desktop platforms. The given folder may or may ...
MBRecognizerErrorStatus
Enumeration of all possible error statuses.
Definition: RecognizerError.h:28