# Constructor Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/create_session.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/create_session.html) Creates a session and returns a session ID that can be used by other QESDK sensor APIs in the current session. A sensor session facilitates communication between the application and sensor subsystem. Each application can create only one simultaneous session. For example, if you call create\_session while sensor\_session\_id is already created, another create\_session API call returns -1. If you need to create new session, you should call delete\_session first to delete the existing session and create a sensor session. create_session() Copy to clipboard ## Returns | Returns | Description | | --- | --- | | session id | Possible returns are as follows:


| **Parent Topic:** [Sensor subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/sensor_functions.html) Last Published: Nov 14, 2024 [Previous Topic Sensor subsystem APIs](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/sensor_functions.md) [Next Topic get\_sensors\_list](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/get_sensors_list.md)