[Android] Override onKeyDown method in apl or upl

There is a key input that the engine does not receive, so I want to get it from Android.
I’m trying to use overriding onKeyDown in APL, but I don’t know how to do it.