mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-02 12:38:16 +00:00
!2413 onKeyEvent入参类型变更
Merge pull request !2413 from Mupceet/release_0810_onkeyevent_sdk
This commit is contained in:
commit
064206c823
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user