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)