操作 旧版本 新版本 d.ts文件
新增 NA 类名:Pinch;
方法or属性:type: ActionType;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ThreeFingersSwipe;
方法or属性:type: ActionType;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:FourFingersSwipe;
方法or属性:type: ActionType;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:Pinch;
方法or属性:scale: number;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ThreeFingersSwipe;
方法or属性:x: number;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:FourFingersSwipe;
方法or属性:x: number;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ThreeFingersSwipe;
方法or属性:y: number;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:FourFingersSwipe;
方法or属性:y: number;
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ActionType;
方法or属性:CANCEL = 0
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ActionType;
方法or属性:BEGIN = 1
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ActionType;
方法or属性:UPDATE = 2
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:ActionType;
方法or属性:END = 3
@ohos.multimodalInput.gestureEvent.d.ts
新增 NA 类名:inputDevice;
方法or属性:function getDeviceInfoSync(deviceId: number): InputDeviceData;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function supportKeysSync(deviceId: number, keys: Array<KeyCode>): Array<boolean>;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function getKeyboardTypeSync(deviceId: number): KeyboardType;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function setKeyboardRepeatDelay(delay: number): Promise<void>;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function getKeyboardRepeatDelay(callback: AsyncCallback<number>): void;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function getKeyboardRepeatDelay(): Promise<number>;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function setKeyboardRepeatRate(rate: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function setKeyboardRepeatRate(rate: number): Promise<void>;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function getKeyboardRepeatRate(callback: AsyncCallback<number>): void;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputDevice;
方法or属性:function getKeyboardRepeatRate(): Promise<number>;
@ohos.multimodalInput.inputDevice.d.ts
新增 NA 类名:inputMonitor;
方法or属性:function on(type: 'pinch', receiver: Callback<Pinch>): void;
@ohos.multimodalInput.inputMonitor.d.ts
新增 NA 类名:inputMonitor;
方法or属性:function on(type: 'threeFingersSwipe', receiver: Callback<ThreeFingersSwipe>): void;
@ohos.multimodalInput.inputMonitor.d.ts
新增 NA 类名:inputMonitor;
方法or属性:function on(type: 'fourFingersSwipe', receiver: Callback<FourFingersSwipe>): void;
@ohos.multimodalInput.inputMonitor.d.ts
新增 NA 类名:inputMonitor;
方法or属性:function off(type: 'pinch', receiver?: Callback<Pinch>): void;
@ohos.multimodalInput.inputMonitor.d.ts
新增 NA 类名:inputMonitor;
方法or属性:function off(type: 'threeFingersSwipe', receiver?: Callback<ThreeFingersSwipe>): void;
@ohos.multimodalInput.inputMonitor.d.ts
新增 NA 类名:inputMonitor;
方法or属性:function off(type: 'fourFingersSwipe', receiver?: Callback<FourFingersSwipe>): void;
@ohos.multimodalInput.inputMonitor.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerSpeedSync(speed: number): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerSpeedSync(): number;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerStyleSync(windowId: number, pointerStyle: PointerStyle): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerStyleSync(windowId: number): PointerStyle;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerVisibleSync(visible: boolean): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function isPointerVisibleSync(): boolean;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerColor(color: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerColor(color: number): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerColorSync(color: number): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerColor(callback: AsyncCallback<number>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerColor(): Promise<number>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerColorSync(): number;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerSize(size: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerSize(size: number): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setPointerSizeSync(size: number): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerSize(callback: AsyncCallback<number>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerSize(): Promise<number>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getPointerSizeSync(): number;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getMousePrimaryButton(callback: AsyncCallback<PrimaryButton>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getMousePrimaryButton(): Promise<PrimaryButton>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setHoverScrollState(state: boolean): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getHoverScrollState(callback: AsyncCallback<boolean>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getHoverScrollState(): Promise<boolean>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setMouseScrollRows(rows: number): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getMouseScrollRows(callback: AsyncCallback<number>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getMouseScrollRows(): Promise<number>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadScrollSwitch(state: boolean): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadScrollSwitch(callback: AsyncCallback<boolean>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadScrollSwitch(): Promise<boolean>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadScrollDirection(state: boolean): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadScrollDirection(callback: AsyncCallback<boolean>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadScrollDirection(): Promise<boolean>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadTapSwitch(state: boolean): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadTapSwitch(callback: AsyncCallback<boolean>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadTapSwitch(): Promise<boolean>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadPointerSpeed(speed: number): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadPointerSpeed(callback: AsyncCallback<number>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadPointerSpeed(): Promise<number>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadPinchSwitch(state: boolean): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadPinchSwitch(callback: AsyncCallback<boolean>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadPinchSwitch(): Promise<boolean>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadSwipeSwitch(state: boolean): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadSwipeSwitch(callback: AsyncCallback<boolean>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadSwipeSwitch(): Promise<boolean>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function setTouchpadRightClickType(type: RightClickType): Promise<void>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadRightClickType(callback: AsyncCallback<RightClickType>): void;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:pointer;
方法or属性:function getTouchpadRightClickType(): Promise<RightClickType>;
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PointerStyle;
方法or属性:HORIZONTAL_TEXT_CURSOR
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PointerStyle;
方法or属性:CURSOR_CROSS
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PointerStyle;
方法or属性:CURSOR_CIRCLE
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PointerStyle;
方法or属性:LOADING
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PointerStyle;
方法or属性:RUNNING
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PrimaryButton;
方法or属性:LEFT = 0
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PrimaryButton;
方法or属性:RIGHT = 1
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:RightClickType;
方法or属性:TOUCHPAD_RIGHT_BUTTON = 1
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:RightClickType;
方法or属性:TOUCHPAD_LEFT_BUTTON = 2
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:RightClickType;
方法or属性:TOUCHPAD_TWO_FINGER_TAP = 3
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:shortKey;
方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback<void>): void;
@ohos.multimodalInput.shortKey.d.ts
新增 NA 类名:shortKey;
方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise<void>;
@ohos.multimodalInput.shortKey.d.ts
访问级别有变化 类名:KeyOptions;
方法or属性:preKeys: Array<number>;
旧版本信息:
类名:KeyOptions;
方法or属性:preKeys: Array<number>;
新版本信息:systemapi
@ohos.multimodalInput.inputConsumer.d.ts
访问级别有变化 类名:KeyOptions;
方法or属性:finalKey: number;
旧版本信息:
类名:KeyOptions;
方法or属性:finalKey: number;
新版本信息:systemapi
@ohos.multimodalInput.inputConsumer.d.ts
访问级别有变化 类名:KeyOptions;
方法or属性:isFinalKeyDown: boolean;
旧版本信息:
类名:KeyOptions;
方法or属性:isFinalKeyDown: boolean;
新版本信息:systemapi
@ohos.multimodalInput.inputConsumer.d.ts
访问级别有变化 类名:KeyOptions;
方法or属性:finalKeyDownDuration: number;
旧版本信息:
类名:KeyOptions;
方法or属性:finalKeyDownDuration: number;
新版本信息:systemapi
@ohos.multimodalInput.inputConsumer.d.ts
访问级别有变化 类名:KeyEvent;
方法or属性:isPressed: boolean;
旧版本信息:
类名:KeyEvent;
方法or属性:isPressed: boolean;
新版本信息:systemapi
@ohos.multimodalInput.inputEventClient.d.ts
访问级别有变化 类名:KeyEvent;
方法or属性:keyCode: number;
旧版本信息:
类名:KeyEvent;
方法or属性:keyCode: number;
新版本信息:systemapi
@ohos.multimodalInput.inputEventClient.d.ts
访问级别有变化 类名:KeyEvent;
方法or属性:keyDownDuration: number;
旧版本信息:
类名:KeyEvent;
方法or属性:keyDownDuration: number;
新版本信息:systemapi
@ohos.multimodalInput.inputEventClient.d.ts
访问级别有变化 类名:KeyEvent;
方法or属性:isIntercepted: boolean;
旧版本信息:
类名:KeyEvent;
方法or属性:isIntercepted: boolean;
新版本信息:systemapi
@ohos.multimodalInput.inputEventClient.d.ts
权限有变化 类名:TouchEventReceiver;
方法or属性:interface TouchEventReceiver
旧版本信息:
类名:TouchEventReceiver;
方法or属性:interface TouchEventReceiver
新版本信息:ohos.permission.INPUT_MONITORING
@ohos.multimodalInput.inputMonitor.d.ts
type有变化 类名:KeyOptions;
方法or属性:preKeys: Array<number>;
旧版本信息:
类名:KeyOptions;
方法or属性:preKeys: Array<number>;
新版本信息:Array<number>
@ohos.multimodalInput.inputConsumer.d.ts
type有变化 类名:KeyOptions;
方法or属性:finalKey: number;
旧版本信息:
类名:KeyOptions;
方法or属性:finalKey: number;
新版本信息:number
@ohos.multimodalInput.inputConsumer.d.ts
type有变化 类名:KeyOptions;
方法or属性:isFinalKeyDown: boolean;
旧版本信息:
类名:KeyOptions;
方法or属性:isFinalKeyDown: boolean;
新版本信息:boolean
@ohos.multimodalInput.inputConsumer.d.ts
type有变化 类名:KeyOptions;
方法or属性:finalKeyDownDuration: number;
旧版本信息:
类名:KeyOptions;
方法or属性:finalKeyDownDuration: number;
新版本信息:number
@ohos.multimodalInput.inputConsumer.d.ts
type有变化 类名:DeviceListener;
方法or属性:type: ChangedType;
旧版本信息:
类名:DeviceListener;
方法or属性:type: ChangedType;
新版本信息:ChangedType
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:DeviceListener;
方法or属性:deviceId: number;
旧版本信息:
类名:DeviceListener;
方法or属性:deviceId: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:source: SourceType;
旧版本信息:
类名:AxisRange;
方法or属性:source: SourceType;
新版本信息:SourceType
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:axis: AxisType;
旧版本信息:
类名:AxisRange;
方法or属性:axis: AxisType;
新版本信息:AxisType
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:max: number;
旧版本信息:
类名:AxisRange;
方法or属性:max: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:min: number;
旧版本信息:
类名:AxisRange;
方法or属性:min: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:fuzz: number;
旧版本信息:
类名:AxisRange;
方法or属性:fuzz: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:flat: number;
旧版本信息:
类名:AxisRange;
方法or属性:flat: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:AxisRange;
方法or属性:resolution: number;
旧版本信息:
类名:AxisRange;
方法or属性:resolution: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:id: number;
旧版本信息:
类名:InputDeviceData;
方法or属性:id: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:name: string;
旧版本信息:
类名:InputDeviceData;
方法or属性:name: string;
新版本信息:string
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:sources: Array<SourceType>;
旧版本信息:
类名:InputDeviceData;
方法or属性:sources: Array<SourceType>;
新版本信息:Array<SourceType>
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:axisRanges: Array<AxisRange>;
旧版本信息:
类名:InputDeviceData;
方法or属性:axisRanges: Array<AxisRange>;
新版本信息:Array<AxisRange>
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:bus: number;
旧版本信息:
类名:InputDeviceData;
方法or属性:bus: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:product: number;
旧版本信息:
类名:InputDeviceData;
方法or属性:product: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:vendor: number;
旧版本信息:
类名:InputDeviceData;
方法or属性:vendor: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:version: number;
旧版本信息:
类名:InputDeviceData;
方法or属性:version: number;
新版本信息:number
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:phys: string;
旧版本信息:
类名:InputDeviceData;
方法or属性:phys: string;
新版本信息:string
@ohos.multimodalInput.inputDevice.d.ts
type有变化 类名:InputDeviceData;
方法or属性:uniq: string;
旧版本信息:
类名:InputDeviceData;
方法or属性:uniq: string;
新版本信息:string
@ohos.multimodalInput.inputDevice.d.ts
函数有变化 类名:inputDevice;
方法or属性:type AxisType = 'touchMajor' | 'touchMinor' | 'orientation' | 'x' | 'y' | 'pressure' | 'toolMinor' | 'toolMajor' | 'NULL';
类名:inputDevice;
方法or属性:type AxisType =

'touchmajor'

| 'touchminor'

| 'orientation'

| 'x'

| 'y'

| 'pressure'

| 'toolminor'

| 'toolmajor'

| 'null';
@ohos.multimodalInput.inputDevice.d.ts