# get\_sensors\_list

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

Returns the list of available sensors, NULL is returned if the sensor is not available.
    The client application can check if the interested sensor data type is present in the returned
    list and use it further for SUID query. See [Requesting message](https://docs.qualcomm.com/doc/80-PK177-134/topic/requesting_message.html) for SUID
    request. This API can be called before sensor session is created. Only activity recognition is
    supported.

get_sensors_list()Copy to clipboard

## Returns

| Returns | Returns |
| --- | --- |
| String array of sensor data types | Possible returns are as follows:<br><br><br>                      <ul class="ul" id="reference.dita_d8748924-f5a8-4b49-b484-f66cf4eeebcf__properties_wyc_tzp_1yb_spyrz_07-06-23-1241-29-781"><br>                        <br>                          <li class="li">List of sensor data type</li><br><br>                        <br>                        <br>                          <li class="li">NULL: Empty list when there is no available sensor</li><br><br>                        <br>                        <br>                          <li class="li">Exception: QESDK exception </li><br><br>                        <br>                      </ul> |

**Parent Topic:** [Sensor subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/sensor_functions.html)

Last Published: Nov 14, 2024

[Previous Topic
Constructor](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/create_session.md) [Next Topic
delete\_session](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/delete_session.md)