# qesdk\_init Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_init.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_init.html) **This API is deprecated use [qesdk_initEx](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_init_ex.html).** Initializes a QESDK session with a user-given license key. It triggers an authentication call to QESDK and returns the QESDK service handle on success or NULL on failure. qesdk_init()Copy to clipboard Note: Call this API only once per session. ## Parameters | **Parameters** | **Data type** | **Description** | | --- | --- | --- | | license | char\* | License buffer for the license assigned to the application. | | license\_size | size\_t | Length of the license buffer. | | cb | [fwk_event_callback](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_fwk_event_callback.html) | Callback where QESDK framework events are reported. | ## Returns | **Return** | **Description** | | --- | --- | | int | This API will return.


| | int8 | This API will return.


| | | | **Parent Topic:** [Function execution (DEPRECATED)](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_functions.html) Last Published: Nov 14, 2024 [Previous Topic Function execution (DEPRECATED)](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_functions.md) [Next Topic qesdk\_getFunctionHandle](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_get_function_handle.md)