Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

KeyEventCompat

extends Object
java.lang.Object
   ↳ android.support.v4.view.KeyEventCompat

Class Overview

Helper for accessing features in KeyEvent introduced after API level 4 in a backwards compatible fashion.

Summary

Public Constructors
KeyEventCompat ()
Public Methods
static boolean dispatch ( KeyEvent event, KeyEvent.Callback receiver, Object state, Object target)
static Object getKeyDispatcherState ( View view)
static boolean hasModifiers ( KeyEvent event, int modifiers)
static boolean hasNoModifiers ( KeyEvent event)
static boolean isTracking ( KeyEvent event)
static boolean metaStateHasModifiers (int metaState, int modifiers)
static boolean metaStateHasNoModifiers (int metaState)
static int normalizeMetaState (int metaState)
static void startTracking ( KeyEvent event)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KeyEventCompat ()

Public Methods

public static boolean dispatch ( KeyEvent event, KeyEvent.Callback receiver, Object state, Object target)

public static Object getKeyDispatcherState ( View view)

public static boolean hasModifiers ( KeyEvent event, int modifiers)

public static boolean hasNoModifiers ( KeyEvent event)

public static boolean isTracking ( KeyEvent event)

public static boolean metaStateHasModifiers (int metaState, int modifiers)

public static boolean metaStateHasNoModifiers (int metaState)

public static int normalizeMetaState (int metaState)

public static void startTracking ( KeyEvent event)