操作 旧版本 新版本 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 类名: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 类名:PointerStyle;
方法or属性:LOADING
@ohos.multimodalInput.pointer.d.ts
新增 NA 类名:PointerStyle;
方法or属性:RUNNING
@ohos.multimodalInput.pointer.d.ts