- keyCode
- The value in event.getKeyCode().
- e
- Description of the key event.
Documentation for this section has not yet been entered.
Called when a key was pressed down and not handled by any of the views inside of the activity. So, for example, key presses while the cursor is inside a TextView will not trigger the event (unless it is a navigation to another object) because TextView handles its own key presses.
If the focused view didn't want this event, this method is called.
The default implementation takes care of Android.Views.KeyEvent.KEYCODE_BACK by calling Activity.OnBackPressed, though the behavior varies based on the application compatibility mode: for NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#ECLAIR or later applications, it will set up the dispatch to call Activity.OnKeyUp(Android.Views.Keycode, Android.Views.KeyEvent) where the action will be performed; for earlier applications, it will perform the action immediately in on-down, as those versions of the platform behaved.
Other additional default key handling may be performed if configured with Activity.SetDefaultKeyMode(DefaultKey).