1# JS API Changes of the Multimodal Input Subsystem 2 3The table below lists the APIs changes of the multimodal input subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2. 4 5## API Changes 6 7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type| 8|---|---|---|---| 9| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | off(type: 'cooperation', callback?: AsyncCallback\<void>): void; | Added| 10| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | on(type: 'cooperation', callback: AsyncCallback\<{ deviceDescriptor: string, eventMsg: EventMsg }>): void; | Added| 11| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | getState(deviceDescriptor: string, callback: AsyncCallback\<{ state: boolean }>): void;<br>getState(deviceDescriptor: string): Promise\<{ state: boolean }>; | Added| 12| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | stop(callback: AsyncCallback\<void>): void;<br>stop(): Promise\<void>; | Added| 13| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback\<void>): void;<br>start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise\<void>; | Added| 14| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | enable(enable: boolean, callback: AsyncCallback\<void>): void;<br>enable(enable: boolean): Promise\<void>; | Added| 15| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_STATE_OFF = 501 | Added| 16| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_STATE_ON = 500 | Added| 17| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_INFO_FAIL = 202 | Added| 18| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_INFO_SUCCESS = 201 | Added| 19| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_INFO_START = 200 | Added| 20| ohos.multimodalInput.pointer | pointer | isPointerVisible(callback: AsyncCallback\<boolean>): void;<br>isPointerVisible(): Promise\<boolean>; | Added| 21| ohos.multimodalInput.pointer | pointer | setPointerVisible(visible: boolean, callback: AsyncCallback\<void>): void;<br>setPointerVisible(visible: boolean): Promise\<void>; | Added| 22| ohos.multimodalInput.pointer | pointer | getPointerStyle(windowId: number, callback: AsyncCallback\<PointerStyle>): void;<br>getPointerStyle(windowId: number): Promise\<PointerStyle>; | Added| 23| ohos.multimodalInput.pointer | pointer | setPointerStyle(windowId: number, pointerStyle: PointerStyle, callback: AsyncCallback\<void>): void;<br>setPointerStyle(windowId: number, pointerStyle: PointerStyle): Promise\<void>; | Added| 24| ohos.multimodalInput.pointer | pointer | getPointerSpeed(callback: AsyncCallback\<number>): void;<br>getPointerSpeed(): Promise\<number>; | Added| 25| ohos.multimodalInput.pointer | pointer | setPointerSpeed(speed: number, callback: AsyncCallback\<void>): void;<br>setPointerSpeed(speed: number): Promise\<void>; | Added| 26| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_SOUTH_WEST_EAST | Added| 27| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_SOUTH_WEST | Added| 28| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_SOUTH_EAST | Added| 29| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_WEST | Added| 30| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_EAST | Added| 31| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_SOUTH | Added| 32| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH | Added| 33| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_SOUTH | Added| 34| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_WEST | Added| 35| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_EAST | Added| 36| ohos.multimodalInput.pointer | PointerStyle | ZOOM_OUT | Added| 37| ohos.multimodalInput.pointer | PointerStyle | ZOOM_IN | Added| 38| ohos.multimodalInput.pointer | PointerStyle | TEXT_CURSOR | Added| 39| ohos.multimodalInput.pointer | PointerStyle | SCREENSHOT_CURSOR | Added| 40| ohos.multimodalInput.pointer | PointerStyle | SCREENSHOT_CHOOSE | Added| 41| ohos.multimodalInput.pointer | PointerStyle | RESIZE_UP_DOWN | Added| 42| ohos.multimodalInput.pointer | PointerStyle | RESIZE_LEFT_RIGHT | Added| 43| ohos.multimodalInput.pointer | PointerStyle | MOVE | Added| 44| ohos.multimodalInput.pointer | PointerStyle | HELP | Added| 45| ohos.multimodalInput.pointer | PointerStyle | HAND_POINTING | Added| 46| ohos.multimodalInput.pointer | PointerStyle | HAND_OPEN | Added| 47| ohos.multimodalInput.pointer | PointerStyle | HAND_GRABBING | Added| 48| ohos.multimodalInput.pointer | PointerStyle | COLOR_SUCKER | Added| 49| ohos.multimodalInput.pointer | PointerStyle | CURSOR_FORBID | Added| 50| ohos.multimodalInput.pointer | PointerStyle | CURSOR_COPY | Added| 51| ohos.multimodalInput.pointer | PointerStyle | CROSS | Added| 52| ohos.multimodalInput.pointer | PointerStyle | NORTH_WEST_SOUTH_EAST | Added| 53| ohos.multimodalInput.pointer | PointerStyle | NORTH_EAST_SOUTH_WEST | Added| 54| ohos.multimodalInput.pointer | PointerStyle | SOUTH_WEST | Added| 55| ohos.multimodalInput.pointer | PointerStyle | SOUTH_EAST | Added| 56| ohos.multimodalInput.pointer | PointerStyle | NORTH_WEST | Added| 57| ohos.multimodalInput.pointer | PointerStyle | NORTH_EAST | Added| 58| ohos.multimodalInput.pointer | PointerStyle | NORTH_SOUTH | Added| 59| ohos.multimodalInput.pointer | PointerStyle | WEST_EAST | Added| 60| ohos.multimodalInput.pointer | PointerStyle | NORTH | Added| 61| ohos.multimodalInput.pointer | PointerStyle | SOUTH | Added| 62| ohos.multimodalInput.pointer | PointerStyle | WEST | Added| 63| ohos.multimodalInput.pointer | PointerStyle | EAST | Added| 64| ohos.multimodalInput.pointer | PointerStyle | DEFAULT | Added| 65