未验证 提交 5e15540c 编写于 作者: O openharmony_ci 提交者: Gitee

!18448 一致性修改

Merge pull request !18448 from ningning/OpenHarmony-3.2-Release
......@@ -60,7 +60,7 @@ getController(): InputMethodController
| 错误码ID | 错误信息 |
| -------- | ------------------------------ |
| 12800006 | Input method controller error. |
| 12800006 | input method controller error. |
**示例:**
......@@ -88,7 +88,7 @@ getSetting(): InputMethodSetting
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800007 | Input method settings extension error. |
| 12800007 | input method settings extension error. |
**示例:**
......@@ -119,8 +119,8 @@ switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolea
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 | Configuration persisting error. |
| 12800008 | Input method manager service error. |
| 12800005 | configuration persisting error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -176,8 +176,8 @@ switchInputMethod(target: InputMethodProperty): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 | Configuration persisting error. |
| 12800008 | Input method manager service error. |
| 12800005 | configuration persisting error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -248,8 +248,8 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallb
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 | Configuration persisting error. |
| 12800008 | Input method manager service error. |
| 12800005 | configuration persisting error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -309,8 +309,8 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean&
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 | Configuration persisting error. |
| 12800008 | Input method manager service error. |
| 12800005 | configuration persisting error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -384,8 +384,8 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 | Configuration persisting error. |
| 12800008 | Input method manager service error. |
| 12800005 | configuration persisting error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -438,8 +438,8 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 | Configuration persisting error. |
| 12800008 | Input method manager service error. |
| 12800005 | configuration persisting error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -533,8 +533,8 @@ stopInputSession(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 | Input method client error. |
| 12800008 | Input method manager service error. |
| 12800003 | input method client error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -576,8 +576,8 @@ stopInputSession(): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 | Input method client error. |
| 12800008 | Input method manager service error. |
| 12800003 | input method client error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -619,8 +619,8 @@ showSoftKeyboard(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 | Input method client error. |
| 12800008 | Input method manager service error. |
| 12800003 | input method client error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -656,8 +656,8 @@ showSoftKeyboard(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 | Input method client error. |
| 12800008 | Input method manager service error. |
| 12800003 | input method client error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -691,8 +691,8 @@ hideSoftKeyboard(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 | Input method client error. |
| 12800008 | Input method manager service error. |
| 12800003 | input method client error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -728,8 +728,8 @@ hideSoftKeyboard(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 | Input method client error. |
| 12800008 | Input method manager service error. |
| 12800003 | input method client error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -876,8 +876,8 @@ listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: Async
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 | Package manager error. |
| 12800008 | Input method manager service error. |
| 12800001 | package manager error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -928,8 +928,8 @@ listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise<Arr
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 | Package manager error. |
| 12800008 | Input method manager service error. |
| 12800001 | package manager error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -972,8 +972,8 @@ listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSub
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 | Package manager error. |
| 12800008 | Input method manager service error. |
| 12800001 | package manager error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -1011,8 +1011,8 @@ listCurrentInputMethodSubtype(): Promise<Array<InputMethodSubtype>>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 | Package manager error. |
| 12800008 | Input method manager service error. |
| 12800001 | package manager error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -1049,8 +1049,8 @@ getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethod
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 | Package manager error. |
| 12800008 | Input method manager service error. |
| 12800001 | package manager error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -1088,8 +1088,8 @@ getInputMethods(enable: boolean): Promise<Array<InputMethodProperty>&gt
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 | Package manager error. |
| 12800008 | Input method manager service error. |
| 12800001 | package manager error. |
| 12800008 | input method manager service error. |
**返回值:**
......@@ -1131,7 +1131,7 @@ showOptionalInputMethods(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800008 | Input method manager service error. |
| 12800008 | input method manager service error. |
**示例:**
......@@ -1169,7 +1169,7 @@ showOptionalInputMethods(): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800008 | Input method manager service error. |
| 12800008 | input method manager service error. |
**示例:**
......
......@@ -975,7 +975,7 @@ getForward(length:number): Promise<string>
| 错误码ID | 错误信息 |
| -------- | ------------------------------ |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
| 12800006 | input method controller error. |
**示例:**
......@@ -1014,7 +1014,7 @@ getBackward(length:number, callback: AsyncCallback<string>): void
| 错误码ID | 错误信息 |
| -------- | ------------------------------ |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
| 12800006 | input method controller error. |
**示例:**
......@@ -1060,7 +1060,7 @@ getBackward(length:number): Promise<string>
| 错误码ID | 错误信息 |
| -------- | ------------------------------ |
| 12800003 | input method client error. |
| 12800006 | Input method controller error. |
| 12800006 | input method controller error. |
**示例:**
......@@ -1098,7 +1098,7 @@ deleteForward(length:number, callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800002 | input method engine error. |
| 12800003 | input method client error. |
**示例:**
......@@ -1148,7 +1148,7 @@ deleteForward(length:number): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800002 | input method engine error. |
| 12800003 | input method client error. |
**示例:**
......@@ -1191,7 +1191,7 @@ deleteBackward(length:number, callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800002 | input method engine error. |
| 12800003 | input method client error. |
**示例:**
......@@ -1241,7 +1241,7 @@ deleteBackward(length:number): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800002 | input method engine error. |
| 12800003 | input method client error. |
**示例:**
......@@ -1280,7 +1280,7 @@ insertText(text:string, callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800002 | input method engine error. |
| 12800003 | input method client error. |
**示例:**
......@@ -1325,7 +1325,7 @@ insertText(text:string): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------- |
| 12800002 | Input method engine error. |
| 12800002 | input method engine error. |
| 12800003 | input method client error. |
**示例:**
......
......@@ -97,7 +97,7 @@ uploadFile(context: BaseContext, config: UploadConfig): Promise<UploadTask&gt
| 错误码ID | 错误信息 |
| -------- | -------- |
| 13400002 | Bad file path. |
| 13400002 | bad file path. |
**示例:**
......@@ -145,7 +145,7 @@ uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback&l
| 错误码ID | 错误信息 |
| -------- | -------- |
| 13400002 | Bad file path. |
| 13400002 | bad file path. |
**示例:**
......@@ -657,9 +657,9 @@ downloadFile(context: BaseContext, config: DownloadConfig): Promise<DownloadT
| 错误码ID | 错误信息 |
| -------- | -------- |
| 13400001 | File operation error. |
| 13400002 | Bad file path. |
| 13400003 | Task manager service error. |
| 13400001 | file operation error. |
| 13400002 | bad file path. |
| 13400003 | task manager service error. |
**示例:**
......@@ -700,9 +700,9 @@ downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallba
| 错误码ID | 错误信息 |
| -------- | -------- |
| 13400001 | File operation error. |
| 13400002 | Bad file path. |
| 13400003 | Task manager service error. |
| 13400001 | file operation error. |
| 13400002 | bad file path. |
| 13400003 | task manager service error. |
**示例:**
......@@ -1623,17 +1623,17 @@ resume(callback: AsyncCallback<void>): void
**系统能力**: SystemCapability.MiscServices.Download
| 名称 | 类型 | 说明 |
| -------- | ------ |---------------- |
| downloadId | number | 下载任务ID。 |
| failedReason | number | 下载失败原因,可以是任何[下载任务的错误码](#下载任务的错误码)常量。 |
| fileName | string | 下载的文件名。 |
| filePath | string | 存储文件的URI。 |
| pausedReason | number | 会话暂停的原因,可以是任何[下载任务暂停原因](#下载任务暂停原因)常量。 |
| status | number | 下载状态码,可以是任何[下载任务状态码](#下载任务状态码)常量。 |
| targetURI | string | 下载文件的URI。 |
| downloadTitle | string | 下载任务名称。 |
| downloadTotalBytes | number | 下载的文件的总大小(int bytes)。 |
| description | string | 待下载任务的描述信息。 |
| downloadedBytes | number | 实时下载大小(int  bytes)。 |
| 名称 | 类型 | 必填 | 说明 |
| -------- | ------ | ------ |---------------- |
| downloadId | number | 是 |下载任务ID。 |
| failedReason | number | 是 |下载失败原因,可以是任何[下载任务的错误码](#下载任务的错误码)常量。 |
| fileName | string | 是 |下载的文件名。 |
| filePath | string | 是 |存储文件的URI。 |
| pausedReason | number |是 | 会话暂停的原因,可以是任何[下载任务暂停原因](#下载任务暂停原因)常量。 |
| status | number | 是 |下载状态码,可以是任何[下载任务状态码](#下载任务状态码)常量。 |
| targetURI | string | 是 |下载文件的URI。 |
| downloadTitle | string | 是 |下载任务名称。 |
| downloadTotalBytes | number |是 | 下载的文件的总大小(int bytes)。 |
| description | string |是 | 待下载任务的描述信息。 |
| downloadedBytes | number | 是 |实时下载大小(int  bytes)。 |
<!--no_check-->
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册