Interface definition for a callback to be invoked when a key event is
dispatched to this view. The callback will be invoked before the key
event is given to the view.
Known Indirect Subclasses
||A utility class to manage panning and zooming of a map.
onKey(View v, int keyCode, KeyEvent event)
Called when a key is dispatched to a view. This allows listeners to
get a chance to respond before the target view.
||The view the key has been dispatched to.
||The code for the physical key that was pressed
||The KeyEvent object containing full information about
- True if the listener has consumed the event, false otherwise.