# 异步结果

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

指示请求成功或失败；异步。

**Java**

    IasyncResult() {public void onValues(boolean success, String error) {}}Copy to clipboard

**原生**

    typedef void (*lce_asyncResult) (bool success, std::string error)Copy to clipboard

## 回调参数

          - success

              - 指示请求是否成功的布尔值。
- 0 - 成功
- 1 - 失败

          - error

              - 如果 success 为 False，则设置错误字符串。有关可能的错误，参见具体 API 的文档。

**Parent Topic:** [LCE 回调接口](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_callback_interfaces.html)

Last Published: Jun 22, 2023

[Previous Topic
LCE 回调接口](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/lce_callback_interfaces.md) [Next Topic
估计报告](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/lce_iestimation_report.md)