1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:Pinch;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
4|新增|NA|类名:ThreeFingersSwipe;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
5|新增|NA|类名:FourFingersSwipe;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
6|新增|NA|类名:Pinch;<br>方法or属性:scale: number;|@ohos.multimodalInput.gestureEvent.d.ts|
7|新增|NA|类名:ThreeFingersSwipe;<br>方法or属性:x: number;|@ohos.multimodalInput.gestureEvent.d.ts|
8|新增|NA|类名:FourFingersSwipe;<br>方法or属性:x: number;|@ohos.multimodalInput.gestureEvent.d.ts|
9|新增|NA|类名:ThreeFingersSwipe;<br>方法or属性:y: number;|@ohos.multimodalInput.gestureEvent.d.ts|
10|新增|NA|类名:FourFingersSwipe;<br>方法or属性:y: number;|@ohos.multimodalInput.gestureEvent.d.ts|
11|新增|NA|类名:ActionType;<br>方法or属性:CANCEL = 0|@ohos.multimodalInput.gestureEvent.d.ts|
12|新增|NA|类名:ActionType;<br>方法or属性:BEGIN = 1|@ohos.multimodalInput.gestureEvent.d.ts|
13|新增|NA|类名:ActionType;<br>方法or属性:UPDATE = 2|@ohos.multimodalInput.gestureEvent.d.ts|
14|新增|NA|类名:ActionType;<br>方法or属性:END = 3|@ohos.multimodalInput.gestureEvent.d.ts|
15|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts|
16|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatDelay(delay: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts|
17|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatDelay(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts|
18|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatDelay(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts|
19|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatRate(rate: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts|
20|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatRate(rate: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts|
21|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatRate(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts|
22|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatRate(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts|
23|新增|NA|类名:inputMonitor;<br>方法or属性:function on(type: 'pinch', receiver: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
24|新增|NA|类名:inputMonitor;<br>方法or属性:function on(type: 'threeFingersSwipe', receiver: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
25|新增|NA|类名:inputMonitor;<br>方法or属性:function on(type: 'fourFingersSwipe', receiver: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
26|新增|NA|类名:inputMonitor;<br>方法or属性:function off(type: 'pinch', receiver?: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
27|新增|NA|类名:inputMonitor;<br>方法or属性:function off(type: 'threeFingersSwipe', receiver?: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
28|新增|NA|类名:inputMonitor;<br>方法or属性:function off(type: 'fourFingersSwipe', receiver?: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
29|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_UNKNOWN = -1|@ohos.multimodalInput.intentionCode.d.ts|
30|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_UP = 1|@ohos.multimodalInput.intentionCode.d.ts|
31|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_DOWN = 2|@ohos.multimodalInput.intentionCode.d.ts|
32|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_LEFT = 3|@ohos.multimodalInput.intentionCode.d.ts|
33|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_RIGHT = 4|@ohos.multimodalInput.intentionCode.d.ts|
34|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_SELECT = 5|@ohos.multimodalInput.intentionCode.d.ts|
35|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_ESCAPE = 6|@ohos.multimodalInput.intentionCode.d.ts|
36|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_BACK = 7|@ohos.multimodalInput.intentionCode.d.ts|
37|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_FORWARD = 8|@ohos.multimodalInput.intentionCode.d.ts|
38|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_MENU = 9|@ohos.multimodalInput.intentionCode.d.ts|
39|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_PAGE_UP = 11|@ohos.multimodalInput.intentionCode.d.ts|
40|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_PAGE_DOWN = 12|@ohos.multimodalInput.intentionCode.d.ts|
41|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_ZOOM_OUT = 13|@ohos.multimodalInput.intentionCode.d.ts|
42|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_ZOOM_IN = 14|@ohos.multimodalInput.intentionCode.d.ts|
43|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
44|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
45|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
46|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
47|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
48|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollDirection(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
49|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollDirection(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
50|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollDirection(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
51|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
52|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadTapSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
53|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadTapSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
54|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadTapSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
55|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
56|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPointerSpeed(speed: number): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
57|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPointerSpeed(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.pointer.d.ts|
58|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPointerSpeed(): Promise\<number>;|@ohos.multimodalInput.pointer.d.ts|
59|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
60|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPinchSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
61|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPinchSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
62|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPinchSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
63|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
64|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadSwipeSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
65|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadSwipeSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
66|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadSwipeSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
67|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
68|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadRightClickType(type: RightClickType): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
69|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadRightClickType(callback: AsyncCallback\<RightClickType>): void;|@ohos.multimodalInput.pointer.d.ts|
70|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadRightClickType(): Promise\<RightClickType>;|@ohos.multimodalInput.pointer.d.ts|
71|新增|NA|类名:PointerStyle;<br>方法or属性:HORIZONTAL_TEXT_CURSOR|@ohos.multimodalInput.pointer.d.ts|
72|新增|NA|类名:PointerStyle;<br>方法or属性:CURSOR_CROSS|@ohos.multimodalInput.pointer.d.ts|
73|新增|NA|类名:PointerStyle;<br>方法or属性:CURSOR_CIRCLE|@ohos.multimodalInput.pointer.d.ts|
74|新增|NA|类名:RightClickType;<br>方法or属性:TOUCHPAD_RIGHT_BUTTON = 1|@ohos.multimodalInput.pointer.d.ts|
75|新增|NA|类名:RightClickType;<br>方法or属性:TOUCHPAD_LEFT_BUTTON = 2|@ohos.multimodalInput.pointer.d.ts|
76|新增|NA|类名:RightClickType;<br>方法or属性:TOUCHPAD_TWO_FINGER_TAP = 3|@ohos.multimodalInput.pointer.d.ts|
77|错误码有变化|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
78|错误码有变化|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
79|错误码有变化|类名:pointer;<br>方法or属性:function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
80|错误码有变化|类名:pointer;<br>方法or属性:function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
81|错误码有变化|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
82|错误码有变化|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean): Promise\<void>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
83|错误码有变化|类名:pointer;<br>方法or属性:function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
84|错误码有变化|类名:pointer;<br>方法or属性:function getHoverScrollState(): Promise\<boolean>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getHoverScrollState(): Promise\<boolean>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
85|错误码有变化|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
86|错误码有变化|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number): Promise\<void>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
87|错误码有变化|类名:pointer;<br>方法or属性:function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
88|错误码有变化|类名:pointer;<br>方法or属性:function getMouseScrollRows(): Promise\<number>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMouseScrollRows(): Promise\<number>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
89|错误码有变化|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.shortKey.d.ts|
90|错误码有变化|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>旧版本信息:401|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.shortKey.d.ts|
91