# QESDK Native API

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_api.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_api.html)

The QESDK NDK library provides the main methods that are used to register an Android application package (APK), validate the corresponding license file, and call the subsystem APIs.

- **QESDK specific APIs**
- **Initialize or de-initialize individual subsystems**  

 Applications can initialize and de-initialize services independently.
- **QESDK event callback**  

Needs to be registered as callback during qesdk\_initEx call. Clients should implement the     callback, which is called when the registered services are unavailable. It is called by passing     the parameters as opcodes and subsystems[] pair of the services that failed.
- **QESDK transaction status for Native APIs**  

This class allows further flexibility for examining the Native API return values for specific error codes contained in qesdk_error_t.         Example code sections illustrate how `is_ok()` and `get_error_code()` can be used to accomplish this.
- **QESDK Structs**
- **QESDK enums**
- **Guidance for NDK API memory release**  

If an out parameter of a native API is `blob/vector<blob>/blob `in         struct, the application needs to deallocate memory of `data(uint8_t*)` in         blob using the `delete` operator to avoid a memory leak.
- **Example code**
- **Function execution (DEPRECATED)**  

These APIs are deprecated from Snapdragon Gen-2. This section explains the function     execution API, which is used to call the subsystem API.

**Parent Topic:** Qualcomm Enhanced Software Development Kit

Last Published: Nov 14, 2024

Previous Topic
 
Example code Next Topic

QESDK specific APIs