# deleteFlow

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

根据 ID 删除相应的流程。

    deleteFlow();Copy to clipboard

## 参数

| **参数** | **API 类型** | **数据类型** | **说明** |
| --- | --- | --- | --- |
| flowId | Java | int | 要删除的流程 ID。 |
| flowId | 原生 | uint32\_t | 要删除的流程 ID。 |
|  |  |  |  |

## 返回结果

| API 类型 | 返回结果 | 说明 |
| --- | --- | --- |
| Java | int | <ul class="ul" id="concept.dita_e31c2694-0732-4cef-8deb-fd9ceeb6ab8b__ul_lkf_f2t_n5b"><br>                                    <li class="li">SUCCESS ≥ 0</li><br><br>                                    <li class="li">失败<ul class="ul" id="concept.dita_e31c2694-0732-4cef-8deb-fd9ceeb6ab8b__ul_mkf_f2t_n5b"><br>                                            <li class="li">-1 IQesdk 为 NULL</li><br><br>                                            <li class="li">-2 子系统错误</li><br><br>                                        </ul><br></li><br><br>                                </ul> |
| 原生 | int8\_t | <ul class="ul" id="concept.dita_e31c2694-0732-4cef-8deb-fd9ceeb6ab8b__ul_lkf_f2t_n5b"><br>                                    <li class="li">SUCCESS ≥ 0</li><br><br>                                    <li class="li">失败<ul class="ul" id="concept.dita_e31c2694-0732-4cef-8deb-fd9ceeb6ab8b__ul_mkf_f2t_n5b"><br>                                            <li class="li">-1 IQesdk 为 NULL</li><br><br>                                            <li class="li">-2 子系统错误</li><br><br>                                        </ul><br></li><br><br>                                </ul> |
|  |  |  |

**Parent Topic:** [数据路径优先级函数](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/functions.html)

Last Published: Jun 22, 2023

[Previous Topic
getFlow](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/get_flow.md) [Next Topic
deleteAllFlows](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/delete_all_flows.md)