Change Type Old Version New Version d.ts File
New API NA Class name: global;
API declaration: declare namespace inputConsumer
DIfferences: declare namespace inputConsumer
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: inputConsumer;
API declaration: interface HotkeyOptions
DIfferences: interface HotkeyOptions
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: HotkeyOptions;
API declaration: preKeys: Array<number>;
DIfferences: preKeys: Array<number>;
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: HotkeyOptions;
API declaration: finalKey: number;
DIfferences: finalKey: number;
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: HotkeyOptions;
API declaration: isRepeat?: boolean;
DIfferences: isRepeat?: boolean;
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: inputConsumer;
API declaration: function getAllSystemHotkeys(): Promise<Array<HotkeyOptions>>;
DIfferences: function getAllSystemHotkeys(): Promise<Array<HotkeyOptions>>;
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: inputConsumer;
API declaration: function on(type: 'hotkeyChange', hotkeyOptions: HotkeyOptions, callback: Callback<HotkeyOptions>): void;
DIfferences: function on(type: 'hotkeyChange', hotkeyOptions: HotkeyOptions, callback: Callback<HotkeyOptions>): void;
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: inputConsumer;
API declaration: function off(type: 'hotkeyChange', hotkeyOptions: HotkeyOptions, callback?: Callback<HotkeyOptions>): void;
DIfferences: function off(type: 'hotkeyChange', hotkeyOptions: HotkeyOptions, callback?: Callback<HotkeyOptions>): void;
api/@ohos.multimodalInput.inputConsumer.d.ts
New API NA Class name: inputDevice;
API declaration: function getIntervalSinceLastInput(): Promise<number>;
DIfferences: function getIntervalSinceLastInput(): Promise<number>;
api/@ohos.multimodalInput.inputDevice.d.ts
New Kit Class name: global;
API declaration:
DIfferences: NA
Class name: global;
API declaration: api@ohos.multimodalInput.inputConsumer.d.ts
DIfferences: InputKit
api/@ohos.multimodalInput.inputConsumer.d.ts