From fb7977d2a9d76abab8d4adcbcdbc691d25ffe1f8 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Mon, 6 Jun 2022 17:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8D=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E6=A0=87=E8=AE=B0=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zengyawen --- .../js-apidiff-distributed-hardware.md | 6 +- .../v3.1-Release/js-apidiff-misc.md | 94 +++++++++---------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md b/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md index 694e03c4ec..46b998e729 100644 --- a/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md +++ b/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md @@ -7,8 +7,8 @@ OpenHarmony 3.1 LTS版本相较于OpenHarmony 3.1 Beta版本的API变更如下: | 模块名称 | 接口名称 | 变更类型 | 变更说明 | | -------- | -------- | -------- | -------- | | 分布式硬件子系统-DeviceManager | release(): void | 删除 | 为了降低安全风险,删除设备管理JS API | -| 分布式硬件子系统-DeviceManager | getTrustedDeviceListSync(): Array | 删除 | 为了降低安全风险,删除设备管理JS API | -| 分布式硬件子系统-DeviceManager | on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | 删除 | 为了降低安全风险,删除设备管理JS API | -| 分布式硬件子系统-DeviceManager | off(type: 'deviceStateChange', callback?: Call back<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | 删除 | 为了降低安全风险,删除设备管理JS API | +| 分布式硬件子系统-DeviceManager | getTrustedDeviceListSync(): Array\ | 删除 | 为了降低安全风险,删除设备管理JS API | +| 分布式硬件子系统-DeviceManager | on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | 删除 | 为了降低安全风险,删除设备管理JS API | +| 分布式硬件子系统-DeviceManager | off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | 删除 | 为了降低安全风险,删除设备管理JS API | | 分布式硬件子系统-DeviceManager | on(type: 'serviceDie', callback: () => void): void | 删除 | 为了降低安全风险,删除设备管理JS API | | 分布式硬件子系统-DeviceManager | off(type: 'serviceDie', callback?: () => void): void | 删除 | 为了降低安全风险,删除设备管理JS API | \ No newline at end of file diff --git a/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-misc.md b/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-misc.md index a12057932b..dc4c28e0c2 100644 --- a/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-misc.md +++ b/zh-cn/release-notes/api-change/v3.1-Release/js-apidiff-misc.md @@ -10,34 +10,34 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.wallpaper | RgbaColor | blue: number; | 新增 | | ohos.wallpaper | RgbaColor | green: number; | 新增 | | ohos.wallpaper | RgbaColor | red: number; | 新增 | -| ohos.wallpaper | wallpaper | function off(type: 'colorChange', callback?: (colors: Array, wallpaperType: WallpaperType) => void): void; | 新增 | -| ohos.wallpaper | wallpaper | function on(type: 'colorChange', callback: (colors: Array, wallpaperType: WallpaperType) => void): void; | 新增 | -| ohos.wallpaper | wallpaper | function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void;
function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function reset(wallpaperType: WallpaperType, callback: AsyncCallback): void;
function reset(wallpaperType: WallpaperType): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function isOperationAllowed(callback: AsyncCallback): void;
function isOperationAllowed(): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function isChangePermitted(callback: AsyncCallback): void;
function isChangePermitted(): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function getMinWidth(callback: AsyncCallback): void;
function getMinWidth(): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function getMinHeight(callback: AsyncCallback): void;
function getMinHeight(): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function getFile(wallpaperType: WallpaperType, callback: AsyncCallback): void;
function getFile(wallpaperType: WallpaperType): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function getId(wallpaperType: WallpaperType, callback: AsyncCallback): void;
function getId(wallpaperType: WallpaperType): Promise; | 新增 | -| ohos.wallpaper | wallpaper | function getColors(wallpaperType: WallpaperType, callback: AsyncCallback>): void;
function getColors(wallpaperType: WallpaperType): Promise>; | 新增 | +| ohos.wallpaper | wallpaper | function off(type: 'colorChange', callback?: (colors: Array\, wallpaperType: WallpaperType) => void): void; | 新增 | +| ohos.wallpaper | wallpaper | function on(type: 'colorChange', callback: (colors: Array\, wallpaperType: WallpaperType) => void): void; | 新增 | +| ohos.wallpaper | wallpaper | function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback\): void;
function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function reset(wallpaperType: WallpaperType, callback: AsyncCallback\): void;
function reset(wallpaperType: WallpaperType): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function isOperationAllowed(callback: AsyncCallback\): void;
function isOperationAllowed(): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function isChangePermitted(callback: AsyncCallback\): void;
function isChangePermitted(): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function getMinWidth(callback: AsyncCallback\): void;
function getMinWidth(): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function getMinHeight(callback: AsyncCallback\): void;
function getMinHeight(): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function getFile(wallpaperType: WallpaperType, callback: AsyncCallback\): void;
function getFile(wallpaperType: WallpaperType): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function getId(wallpaperType: WallpaperType, callback: AsyncCallback\): void;
function getId(wallpaperType: WallpaperType): Promise\; | 新增 | +| ohos.wallpaper | wallpaper | function getColors(wallpaperType: WallpaperType, callback: AsyncCallback\>): void;
function getColors(wallpaperType: WallpaperType): Promise\>; | 新增 | | ohos.wallpaper | WallpaperType | WALLPAPER_LOCKSCREEN | 新增 | | ohos.wallpaper | WallpaperType | WALLPAPER_SYSTEM | 新增 | -| ohos.systemTime | systemTime | function getTimezone(callback: AsyncCallback): void;
function getTimezone(): Promise; | 新增 | -| ohos.systemTime | systemTime | function getDate(callback: AsyncCallback): void;
function getDate(): Promise; | 新增 | -| ohos.systemTime | systemTime | function getRealTime(isNano?: boolean, callback: AsyncCallback): void;
function getRealTime(isNano?: boolean): Promise; | 新增 | -| ohos.systemTime | systemTime | function getRealActiveTime(isNano?: boolean, callback: AsyncCallback): void;
function getRealActiveTime(isNano?: boolean): Promise; | 新增 | -| ohos.systemTime | systemTime | function getCurrentTime(isNano?: boolean, callback: AsyncCallback): void;
function getCurrentTime(isNano?: boolean): Promise; | 新增 | -| ohos.screenLock | screenLock | function unlockScreen(callback: AsyncCallback): void;
function unlockScreen():Promise; | 新增 | -| ohos.screenLock | screenLock | function isSecureMode(callback: AsyncCallback): void;
function isSecureMode(): Promise; | 新增 | -| ohos.screenLock | screenLock | function isScreenLocked(callback: AsyncCallback): void;
function isScreenLocked(): Promise; | 新增 | -| ohos.request | UploadTask | remove(callback: AsyncCallback): void;
remove(): Promise; | 新增 | +| ohos.systemTime | systemTime | function getTimezone(callback: AsyncCallback\): void;
function getTimezone(): Promise\; | 新增 | +| ohos.systemTime | systemTime | function getDate(callback: AsyncCallback\): void;
function getDate(): Promise\; | 新增 | +| ohos.systemTime | systemTime | function getRealTime(isNano?: boolean, callback: AsyncCallback\): void;
function getRealTime(isNano?: boolean): Promise\; | 新增 | +| ohos.systemTime | systemTime | function getRealActiveTime(isNano?: boolean, callback: AsyncCallback\): void;
function getRealActiveTime(isNano?: boolean): Promise\; | 新增 | +| ohos.systemTime | systemTime | function getCurrentTime(isNano?: boolean, callback: AsyncCallback\): void;
function getCurrentTime(isNano?: boolean): Promise\; | 新增 | +| ohos.screenLock | screenLock | function unlockScreen(callback: AsyncCallback\): void;
function unlockScreen():Promise\; | 新增 | +| ohos.screenLock | screenLock | function isSecureMode(callback: AsyncCallback\): void;
function isSecureMode(): Promise\; | 新增 | +| ohos.screenLock | screenLock | function isScreenLocked(callback: AsyncCallback\): void;
function isScreenLocked(): Promise\; | 新增 | +| ohos.request | UploadTask | remove(callback: AsyncCallback\): void;
remove(): Promise\; | 新增 | | ohos.request | UploadTask | off(type: 'headerReceive', callback?: (header: object) => void): void; | 新增 | | ohos.request | UploadTask | on(type: 'headerReceive', callback: (header: object) => void): void; | 新增 | | ohos.request | UploadTask | off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void; | 新增 | | ohos.request | UploadTask | on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void; | 新增 | -| ohos.request | UploadConfig | data: Array; | 新增 | -| ohos.request | UploadConfig | files: Array; | 新增 | +| ohos.request | UploadConfig | data: Array\; | 新增 | +| ohos.request | UploadConfig | files: Array\; | 新增 | | ohos.request | UploadConfig | method: string; | 新增 | | ohos.request | UploadConfig | header: Object; | 新增 | | ohos.request | UploadConfig | url: string; | 新增 | @@ -47,11 +47,11 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.request | File | uri: string; | 新增 | | ohos.request | File | name: string; | 新增 | | ohos.request | File | filename: string; | 新增 | -| ohos.request | DownloadTask | queryMimeType(callback: AsyncCallback): void;
queryMimeType(): Promise; | 新增 | -| ohos.request | DownloadTask | query(callback: AsyncCallback): void;
query(): Promise; | 新增 | -| ohos.request | DownloadTask | resume(callback: AsyncCallback): void;
resume(): Promise; | 新增 | -| ohos.request | DownloadTask | pause(callback: AsyncCallback): void;
pause(): Promise; | 新增 | -| ohos.request | DownloadTask | remove(callback: AsyncCallback): void;
remove(): Promise; | 新增 | +| ohos.request | DownloadTask | queryMimeType(callback: AsyncCallback\): void;
queryMimeType(): Promise\; | 新增 | +| ohos.request | DownloadTask | query(callback: AsyncCallback\): void;
query(): Promise\; | 新增 | +| ohos.request | DownloadTask | resume(callback: AsyncCallback\): void;
resume(): Promise\; | 新增 | +| ohos.request | DownloadTask | pause(callback: AsyncCallback\): void;
pause(): Promise\; | 新增 | +| ohos.request | DownloadTask | remove(callback: AsyncCallback\): void;
remove(): Promise\; | 新增 | | ohos.request | DownloadTask | off(type: 'fail', callback?: (err: number) => void): void; | 新增 | | ohos.request | DownloadTask | on(type: 'fail', callback: (err: number) => void): void; | 新增 | | ohos.request | DownloadTask | off(type: 'complete' \| 'pause' \| 'remove', callback?: () => void): void; | 新增 | @@ -81,8 +81,8 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.request | DownloadConfig | enableMetered?: boolean; | 新增 | | ohos.request | DownloadConfig | header?: Object; | 新增 | | ohos.request | DownloadConfig | url: string; | 新增 | -| ohos.request | request | function upload(config: UploadConfig, callback: AsyncCallback): void;
function upload(config: UploadConfig): Promise; | 新增 | -| ohos.request | request | function download(config: DownloadConfig, callback: AsyncCallback): void;
function download(config: DownloadConfig): Promise; | 新增 | +| ohos.request | request | function upload(config: UploadConfig, callback: AsyncCallback\): void;
function upload(config: UploadConfig): Promise\; | 新增 | +| ohos.request | request | function download(config: DownloadConfig, callback: AsyncCallback\): void;
function download(config: DownloadConfig): Promise\; | 新增 | | ohos.request | request | const SESSION_SUCCESSFUL: number; | 新增 | | ohos.request | request | const SESSION_RUNNING: number; | 新增 | | ohos.request | request | const SESSION_PENDING: number; | 新增 | @@ -103,10 +103,10 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.request | request | const ERROR_CANNOT_RESUME: number; | 新增 | | ohos.request | request | const NETWORK_WIFI: number; | 新增 | | ohos.request | request | const NETWORK_MOBILE: number; | 新增 | -| ohos.pasteboard | SystemPasteboard | setPasteData(data: PasteData, callback: AsyncCallback): void;
setPasteData(data: PasteData): Promise; | 新增 | -| ohos.pasteboard | SystemPasteboard | hasPasteData(callback: AsyncCallback): void;
hasPasteData(): Promise; | 新增 | -| ohos.pasteboard | SystemPasteboard | getPasteData(callback: AsyncCallback): void;
getPasteData(): Promise; | 新增 | -| ohos.pasteboard | SystemPasteboard | clear(callback: AsyncCallback): void;
clear(): Promise; | 新增 | +| ohos.pasteboard | SystemPasteboard | setPasteData(data: PasteData, callback: AsyncCallback\): void;
setPasteData(data: PasteData): Promise\; | 新增 | +| ohos.pasteboard | SystemPasteboard | hasPasteData(callback: AsyncCallback\): void;
hasPasteData(): Promise\; | 新增 | +| ohos.pasteboard | SystemPasteboard | getPasteData(callback: AsyncCallback\): void;
getPasteData(): Promise\; | 新增 | +| ohos.pasteboard | SystemPasteboard | clear(callback: AsyncCallback\): void;
clear(): Promise\; | 新增 | | ohos.pasteboard | SystemPasteboard | off(type: 'update', callback?: () => void): void; | 新增 | | ohos.pasteboard | SystemPasteboard | on(type: 'update', callback: () => void): void; | 新增 | | ohos.pasteboard | PasteData | replaceRecordAt(index: number, record: PasteDataRecord): boolean; | 新增 | @@ -121,13 +121,13 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.pasteboard | PasteData | getPrimaryMimeType(): string; | 新增 | | ohos.pasteboard | PasteData | getPrimaryWant(): Want; | 新增 | | ohos.pasteboard | PasteData | getPrimaryHtml(): string; | 新增 | -| ohos.pasteboard | PasteData | getMimeTypes(): Array; | 新增 | +| ohos.pasteboard | PasteData | getMimeTypes(): Array\; | 新增 | | ohos.pasteboard | PasteData | addUriRecord(uri: string): void; | 新增 | | ohos.pasteboard | PasteData | addTextRecord(text: string): void; | 新增 | | ohos.pasteboard | PasteData | addRecord(record: PasteDataRecord): void; | 新增 | | ohos.pasteboard | PasteData | addWantRecord(want: Want): void; | 新增 | | ohos.pasteboard | PasteData | addHtmlRecord(htmlText: string): void; | 新增 | -| ohos.pasteboard | PasteDataRecord | convertToText(callback: AsyncCallback): void;
convertToText(): Promise; | 新增 | +| ohos.pasteboard | PasteDataRecord | convertToText(callback: AsyncCallback\): void;
convertToText(): Promise\; | 新增 | | ohos.pasteboard | PasteDataRecord | uri: string; | 新增 | | ohos.pasteboard | PasteDataRecord | plainText: string; | 新增 | | ohos.pasteboard | PasteDataRecord | mimeType: string; | 新增 | @@ -136,7 +136,7 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.pasteboard | PasteDataProperty | localOnly: boolean; | 新增 | | ohos.pasteboard | PasteDataProperty | readonly timestamp: number; | 新增 | | ohos.pasteboard | PasteDataProperty | tag: string; | 新增 | -| ohos.pasteboard | PasteDataProperty | readonly mimeTypes: Array; | 新增 | +| ohos.pasteboard | PasteDataProperty | readonly mimeTypes: Array\; | 新增 | | ohos.pasteboard | PasteDataProperty | additions: { [key: string]: object } | 新增 | | ohos.pasteboard | pasteboard | function getSystemPasteboard(): SystemPasteboard; | 新增 | | ohos.pasteboard | pasteboard | function createUriRecord(uri: string): PasteDataRecord; | 新增 | @@ -166,20 +166,20 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.inputmethodengine | KeyboardDelegate | off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void; | 新增 | | ohos.inputmethodengine | KeyboardDelegate | on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void; | 新增 | | ohos.inputmethodengine | KeyboardDelegate | on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void; | 新增 | -| ohos.inputmethodengine | TextInputClient | getEditorAttribute(callback: AsyncCallback): void;
getEditorAttribute(): Promise; | 新增 | -| ohos.inputmethodengine | TextInputClient | getBackward(length: number, callback: AsyncCallback): void;
getBackward(length: number): Promise; | 新增 | -| ohos.inputmethodengine | TextInputClient | getForward(length: number, callback: AsyncCallback): void;
getForward(length: number): Promise; | 新增 | -| ohos.inputmethodengine | TextInputClient | insertText(text: string, callback: AsyncCallback): void;
insertText(text: string): Promise; | 新增 | -| ohos.inputmethodengine | TextInputClient | deleteBackward(length: number, callback: AsyncCallback): void;
deleteBackward(length: number): Promise; | 新增 | -| ohos.inputmethodengine | TextInputClient | deleteForward(length: number, callback: AsyncCallback): void;
deleteForward(length: number): Promise; | 新增 | -| ohos.inputmethodengine | TextInputClient | sendKeyFunction(action: number, callback: AsyncCallback): void;
sendKeyFunction(action: number): Promise; | 新增 | +| ohos.inputmethodengine | TextInputClient | getEditorAttribute(callback: AsyncCallback\): void;
getEditorAttribute(): Promise\; | 新增 | +| ohos.inputmethodengine | TextInputClient | getBackward(length: number, callback: AsyncCallback\): void;
getBackward(length: number): Promise\; | 新增 | +| ohos.inputmethodengine | TextInputClient | getForward(length: number, callback: AsyncCallback\): void;
getForward(length: number): Promise\; | 新增 | +| ohos.inputmethodengine | TextInputClient | insertText(text: string, callback: AsyncCallback\): void;
insertText(text: string): Promise\; | 新增 | +| ohos.inputmethodengine | TextInputClient | deleteBackward(length: number, callback: AsyncCallback\): void;
deleteBackward(length: number): Promise\; | 新增 | +| ohos.inputmethodengine | TextInputClient | deleteForward(length: number, callback: AsyncCallback\): void;
deleteForward(length: number): Promise\; | 新增 | +| ohos.inputmethodengine | TextInputClient | sendKeyFunction(action: number, callback: AsyncCallback\): void;
sendKeyFunction(action: number): Promise\; | 新增 | | ohos.inputmethodengine | InputMethodEngine | off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void; | 新增 | | ohos.inputmethodengine | InputMethodEngine | off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void; | 新增 | | ohos.inputmethodengine | InputMethodEngine | on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void; | 新增 | | ohos.inputmethodengine | InputMethodEngine | on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void; | 新增 | | ohos.inputmethodengine | InputMethodEngine | off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void; | 新增 | | ohos.inputmethodengine | InputMethodEngine | on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void; | 新增 | -| ohos.inputmethodengine | KeyboardController | hideKeyboard(callback: AsyncCallback): void;
hideKeyboard(): Promise; | 新增 | +| ohos.inputmethodengine | KeyboardController | hideKeyboard(callback: AsyncCallback\): void;
hideKeyboard(): Promise\; | 新增 | | ohos.inputmethodengine | inputMethodEngine | function createKeyboardDelegate(): KeyboardDelegate; | 新增 | | ohos.inputmethodengine | inputMethodEngine | function getInputMethodEngine(): InputMethodEngine; | 新增 | | ohos.inputmethodengine | inputMethodEngine | const OPTION_NO_FULLSCREEN: number; | 新增 | @@ -210,9 +210,9 @@ OpenHarmony 3.1 Release版本相较于OpenHarmony 3.0 LTS版本,杂散软件 | ohos.inputmethodengine | inputMethodEngine | const ENTER_KEY_TYPE_UNSPECIFIED: number; | 新增 | | ohos.inputmethod | InputMethodProperty | readonly methodId: string; | 新增 | | ohos.inputmethod | InputMethodProperty | readonly packageName: string; | 新增 | -| ohos.inputmethod | InputMethodController | stopInput(callback: AsyncCallback): void;
stopInput(): Promise; | 新增 | -| ohos.inputmethod | InputMethodSetting | displayOptionalInputMethod(callback: AsyncCallback): void;
displayOptionalInputMethod(): Promise; | 新增 | -| ohos.inputmethod | InputMethodSetting | listInputMethod(callback: AsyncCallback>): void;
listInputMethod(): Promise>; | 新增 | +| ohos.inputmethod | InputMethodController | stopInput(callback: AsyncCallback\): void;
stopInput(): Promise\; | 新增 | +| ohos.inputmethod | InputMethodSetting | displayOptionalInputMethod(callback: AsyncCallback\): void;
displayOptionalInputMethod(): Promise\; | 新增 | +| ohos.inputmethod | InputMethodSetting | listInputMethod(callback: AsyncCallback\>): void;
listInputMethod(): Promise\>; | 新增 | | ohos.inputmethod | inputMethod | function getInputMethodController(): InputMethodController; | 新增 | | ohos.inputmethod | inputMethod | function getInputMethodSetting(): InputMethodSetting; | 新增 | | ohos.inputmethod | inputMethod | const MAX_TYPE_NUM: number | 新增 | -- GitLab