!2413 onKeyEvent入参类型变更

Merge pull request !2413 from Mupceet/release_0810_onkeyevent_sdk
This commit is contained in:
openharmony_ci 2022-08-16 08:38:17 +00:00 committed by Gitee
commit 064206c823
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -15,7 +15,7 @@
import accessibility from './@ohos.accessibility'
import AccessibilityExtensionContext, { AccessibilityElement } from './application/AccessibilityExtensionContext'
import inputEventClient from './@ohos.multimodalInput.inputEventClient'
import { KeyEvent } from './@ohos.multimodalInput.keyEvent'
/**
* class of accessibility extension ability.
@ -49,7 +49,7 @@ export default class AccessibilityExtensionAbility {
* Called when a physical key is pressed, such as when the user presses the volume button .
* @param keyEvent Indicates the physical key event.
*/
onKeyEvent(keyEvent: inputEventClient.KeyEvent): boolean;
onKeyEvent(keyEvent: KeyEvent): boolean;
}
/**