# updateLatencyLevel

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

Updates the corresponding filter based on the ID with new uplink and downlink levels.

    updateLatencyLevel()Copy to clipboard

## Parameters

| **Parameter** | **API Type** | **Data Type** | **Description** |
| --- | --- | --- | --- |
| id | Java | long | Filter ID to be updated. |
| id | Native | uint32\_t | Filter ID to be updated. |
| uplink | Java | level | Latency [level](https://docs.qualcomm.com/doc/80-PK177-134/topic/level.html) to be<br>                                applied on uplink. |
| uplink | Native | llm\_level | Latency [level](https://docs.qualcomm.com/doc/80-PK177-134/topic/level.html) to be<br>                                applied on uplink. |
| downlink | Java | level | Latency [level](https://docs.qualcomm.com/doc/80-PK177-134/topic/level.html) to be<br>                                applied on downlink. |
| downlink | Native | llm\_level | Latency [level](https://docs.qualcomm.com/doc/80-PK177-134/topic/level.html) to be<br>                                applied on downlink. |
| ret | Native | int8\_t& | On success this is the actual return value from the API.<br><br><br>                                <br><ul class="ul"><br>                                        <li class="li">1: Success</li><br><br>                                        <li class="li">-1: Iqesdk is NULL</li><br><br>                                        <li class="li">-2: Subsystem error</li><br><br>                                    </ul> |
|  |  |  |  |

## Returns

| **Return** | **API type** | **Data Type** | **Description** |
| --- | --- | --- | --- |
| response | Java | int | <ul class="ul" id="concept.dita_2f12fd1e-b824-4f70-884d-42f0d9d6a108__ul_sy1_t4x_vyb_spyrz_09-20-23-1542-23-993"><br>                                    <li class="li">1: Success</li><br><br>                                    <li class="li">-1: Iqesdk is NULL</li><br><br>                                    <li class="li">-2: Subsystem error</li><br><br>                                </ul> |
| response | Native | qesdk\_transaction\_status | See [QESDK transaction status for Native APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html) for usage details. Use qesdk\_transaction\_status to confirm API call invocation. If successful, use the `ret` value for the actual API return value object. |
|  |  |  |  |

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

Last Published: Nov 14, 2024

[Previous Topic
getFilters](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/get_filters.md) [Next Topic
updateOod](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/update_ood.md)