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 function getDevice(deviceId: number): Promise |
Added |
ohos.multimodalInput.inputDevice | inputDevice | function getDeviceIds(callback: AsyncCallback<Array function getDeviceIds(): Promise<Array |
Added |
ohos.multimodalInput.inputDevice | InputDeviceData | axisRanges : Array |
Added |
ohos.multimodalInput.inputDevice | InputDeviceData | sources : Array |
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 |