add interface

Signed-off-by: hungry_feiwei <huxiao31@huawei.com>
This commit is contained in:
hungry_feiwei 2022-04-20 15:56:16 +08:00
parent 01044843d1
commit 643dbd707f

View File

@ -172,6 +172,17 @@ declare namespace inputDevice {
*/
function setPointerVisible(visible: boolean, callback: Callback<void>): void;
function setPointerVisible(visible: boolean): Promise<void>;
/**
*
*
* @since 9
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
* @param iconId id
* @return callback function, receive reported data
*/
function setMouseIcon(iconId: number, callback: Callback<boolean>): void;
function setMouseIcon(iconId: number): Promise<boolean>;
}
export default inputDevice;