harmony(鸿蒙)JS API Changes of the Multimodal Input Subsystem

  • 2022-08-09
  • 浏览 (775)

JS API Changes of the Multimodal Input Subsystem

The table below lists the APIs changes of the multimodal input subsystem in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS.

API Changes

Module Class Method/Attribute/Enumeration/Constant Change Type
ohos.multimodalInput.inputDevice inputDevice function getDevice(deviceId: number, callback: AsyncCallback<InputDeviceData>): void;
function getDevice(deviceId: number): Promise<InputDeviceData>;
Added
ohos.multimodalInput.inputDevice inputDevice function getDeviceIds(callback: AsyncCallback>): void;
function getDeviceIds(): Promise>;
Added
ohos.multimodalInput.inputDevice InputDeviceData axisRanges : Array<AxisRange>; Added
ohos.multimodalInput.inputDevice InputDeviceData sources : Array<SourceType>; Added
ohos.multimodalInput.inputDevice InputDeviceData name: string; Added
ohos.multimodalInput.inputDevice InputDeviceData id: number; Added
ohos.multimodalInput.inputDevice AxisRange min: number; Added
ohos.multimodalInput.inputDevice AxisRange max : number; Added
ohos.multimodalInput.inputDevice AxisRange axis : AxisType; Added
ohos.multimodalInput.inputDevice AxisRange source: SourceType; Added

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)

harmony(鸿蒙)JS API Changes of the Ability Framework

harmony(鸿蒙)JS API Changes of the Accessibility Subsystem

harmony(鸿蒙)JS API Changes of the Account Subsystem

harmony(鸿蒙)JS API Changes of the ArkUI Development Framework

harmony(鸿蒙)JS API Changes of the Power Management Subsystem

harmony(鸿蒙)JS API Changes of the Bundle Management Framework

harmony(鸿蒙)JS API Changes of the Communication Subsystem

harmony(鸿蒙)JS API Changes of the Utils Subsystem

0  赞