BlinkID C SDK version 5.16.0
|
#include "RecognizerError.h"
Go to the source code of this file.
Functions | |
MB_API char const *MB_CALL | recognizerAPIGetVersionString () |
Returns the library version string. More... | |
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 current working directory will be used. NOTE: It is safe to call this with temporary pointer, as internal a copy will be made to store the given string. More... | |
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 not be used, depending on the nature of used license key. The files that may need to be stored are: More... | |
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 resources from assets and use other Android Java APIs. More... | |
Copyright (c)2020 Microblink Ltd. All rights reserved.
ANY UNAUTHORIZED USE OR SALE, DUPLICATION, OR DISTRIBUTION OF THIS PROGRAM OR ANY OF ITS PARTS, IN SOURCE OR BINARY FORMS, WITH OR WITHOUT MODIFICATION, WITH THE PURPOSE OF ACQUIRING UNLAWFUL MATERIAL OR ANY OTHER BENEFIT IS PROHIBITED! THIS PROGRAM IS PROTECTED BY COPYRIGHT LAWS AND YOU MAY NOT REVERSE ENGINEER, DECOMPILE, OR DISASSEMBLE IT.
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 resources from assets and use other Android Java APIs.
env | JNI environment pointer, as given by any JNI entry function. |
applicationContext | Local reference to instance of android.content.Context. It is recommended to use application context to avoid memory leaks as the context will be retained in the SDK indefinitely. For more information about application contexts vs activity contexts with respect to memory leaks, please see https://android-developers.googleblog.com/2009/01/avoiding-memory-leaks.html |
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 not be used, depending on the nature of used license key. The files that may need to be stored are:
cacheFolder | Location of the folder where cache files will be stored. |
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 current working directory will be used. NOTE: It is safe to call this with temporary pointer, as internal a copy will be made to store the given string.
resourcePath | path to resource folder |