“cb70c362dc42f7fa40ed83963bdb0a855ab53ab1”上不存在“...reference/apis/js-apis-file-volumemanager.md”
提交 dfbdb6bb 编写于 作者: E ester.zhou

Update docs (15790)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 9f15c720
......@@ -51,7 +51,7 @@ this.context.destroy((err) => {
## InputMethodExtensionContext.destroy
destroy(): Promise<void&gt;
destroy(): Promise\<void>;
Terminates this ability. This API uses a promise to return the result.
......@@ -61,13 +61,13 @@ Terminates this ability. This API uses a promise to return the result.
| Type| Description|
| -------- | -------- |
| Promise<void&gt; | Promise that returns no value.|
| Promise\<void>; | Promise that returns no value.|
**Example**
```js
this.context.destroy().then(() => {
console.log('Succeed in destroying context.');
console.log('Succeeded in destroying context.');
}).catch((error) => {
console.log('Failed to destroy context: ' + JSON.stringify(error));
});
......
......@@ -1149,8 +1149,6 @@ showOptionalInputMethods(callback: AsyncCallback&lt;boolean&gt;): void
Displays a dialog box for selecting an input method. This API uses an asynchronous callback to return the result.
**Required permissions**: ohos.permission.CONNECT_IME_ABILITY (available only to system applications)
**System capability**: SystemCapability.MiscServices.InputMethodFramework
**Parameters**
......@@ -1189,8 +1187,6 @@ showOptionalInputMethods(): Promise&lt;boolean&gt;
Displays a dialog box for selecting an input method. This API uses a promise to return the result.
**Required permissions**: ohos.permission.CONNECT_IME_ABILITY (available only to system applications)
**System capability**: SystemCapability.MiscServices.InputMethodFramework
**Return value**
......
......@@ -708,7 +708,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -742,7 +742,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -837,7 +837,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -886,7 +886,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -928,7 +928,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | ------------------------------ |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
**Example**
......@@ -974,7 +974,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | ------------------------------ |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
**Example**
......@@ -1013,7 +1013,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | ------------------------------ |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
**Example**
......@@ -1059,7 +1059,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | ------------------------------ |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
**Example**
......@@ -1099,7 +1099,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1149,7 +1149,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1192,7 +1192,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1242,7 +1242,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1281,7 +1281,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1326,7 +1326,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1366,7 +1366,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1401,7 +1401,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1435,7 +1435,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......@@ -1479,7 +1479,7 @@ For details about the error codes, see [Input Method Framework Error Codes](../e
| Error Code ID| Error Message |
| -------- | -------------------------- |
| 12800003 | Input method client error. |
| 12800003 | input method client error. |
**Example**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册