mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
1d940f00ee
Signed-off-by: shaoziyun <shaoziyun@huawei.com>
49 lines
1.1 KiB
TypeScript
Executable File
49 lines
1.1 KiB
TypeScript
Executable File
/*
|
|
* Copyright (c) 2022 Huawei Device Co., Ltd.
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* InputEvent
|
|
*
|
|
* @since 9
|
|
* @syscap SystemCapability.MultimodalInput.Input.Core
|
|
* @import import InputEvent from '@ohos.multimodalInput.inputEvent';
|
|
*/
|
|
|
|
export declare interface InputEvent {
|
|
/**
|
|
* 由服务端生成全局唯一事件id
|
|
*/
|
|
id: number;
|
|
|
|
/**
|
|
* 上报输入事件的设备id
|
|
*/
|
|
deviceId: number;
|
|
|
|
/**
|
|
* 事件发生时间
|
|
*/
|
|
actionTime: number;
|
|
|
|
/**
|
|
* 目标屏幕id
|
|
*/
|
|
screenId: number;
|
|
|
|
/**
|
|
* 目标窗口id
|
|
*/
|
|
windowId: number;
|
|
} |