Class android.view.KeyEvent

The superclass changed from java.lang.Object to android.view.InputEvent.

Added Constructors
KeyEvent( long, long , int , int , int , int , int , int , int , int )  
 

Changed Methods
int  describeContents() Method was locally defined, but is now inherited from InputEvent.  
int  getDeviceId() Method was locally defined, but is now inherited from InputEvent.  
 

Added Fields
int  KEYCODE_BUTTON_A  
int  KEYCODE_BUTTON_B  
int  KEYCODE_BUTTON_C  
int  KEYCODE_BUTTON_L1  
int  KEYCODE_BUTTON_L2  
int  KEYCODE_BUTTON_MODE  
int  KEYCODE_BUTTON_R1  
int  KEYCODE_BUTTON_R2  
int  KEYCODE_BUTTON_SELECT  
int  KEYCODE_BUTTON_START  
int  KEYCODE_BUTTON_THUMBL  
int  KEYCODE_BUTTON_THUMBR  
int  KEYCODE_BUTTON_X  
int  KEYCODE_BUTTON_Y  
int  KEYCODE_BUTTON_Z  
int  KEYCODE_PAGE_DOWN  
int  KEYCODE_PAGE_UP  
int  KEYCODE_PICTSYMBOLS  
int  KEYCODE_SWITCH_CHARSET  
 
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.