# com.herewhite.sdk.domain.Promise interface 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/interfacecom-1-1herewhite-1-1sdk-1-1domain-1-1-promise)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="details"></a>

## 详细描述 [#详细描述]

适用版本：**Whiteboard Android SDK 2.16.134**。

异步回调接口。

| 公开成员签名 |  |
| --- | --- |
| void | [then](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/interfacecom-1-1herewhite-1-1sdk-1-1domain-1-1-promise#ad2eb6eaa15a5237fe9b16261a596497f) (T t) |
| void | [catchEx](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/interfacecom-1-1herewhite-1-1sdk-1-1domain-1-1-promise#a3f34097a5db593ef505545173d9d365a) (SDKError t) |

## 函数说明 [#函数说明]

<a id="ad2eb6eaa15a5237fe9b16261a596497f"></a>

### then() [#then]

<ApiSignature>

void then(T t)

</ApiSignature>

then：com.herewhite.sdk.domain.Promise 的公开成员。参数和返回类型见下方签名。

<a id="a3f34097a5db593ef505545173d9d365a"></a>

### catchEx() [#catchex]

<ApiSignature>

void catchEx(SDKError t)

</ApiSignature>

catchEx：com.herewhite.sdk.domain.Promise 的公开成员。参数和返回类型见下方签名。
