# qesdk\_initEx

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_init_ex.html](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. Call this API only once per session.

qesdk_initEx()Copy to clipboard

## Parameters

| **Parameters** | **Description** |
| --- | --- |
| License | License file content |
| license\_size | Size of the license blob |
| cb | Callback used to inform the application of a subsystem disconnection; see [QESDK event callback](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_fwk_event_callback.html). |

## Returns

| **Returns** | **Description** |
| --- | --- |
| qesdk\_handle\_t | QESDK service handle on Success or NULL on error. |

**Parent Topic:** [QESDK specific APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_specific_apis.html)

Last Published: Nov 14, 2024

[Previous Topic
QESDK specific APIs](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_qesdk_specific_apis.md) [Next Topic
qesdk\_deinit](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_deinit.md)