to top
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 hasModifiers(KeyEvent event, int modifiers)
static boolean hasNoModifiers(KeyEvent event)
static boolean metaStateHasModifiers(int metaState, int modifiers)
static boolean metaStateHasNoModifiers(int metaState)
static int normalizeMetaState(int metaState)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KeyEventCompat ()

Public Methods

public static boolean hasModifiers (KeyEvent event, int modifiers)

public static boolean hasNoModifiers (KeyEvent event)

public static boolean metaStateHasModifiers (int metaState, int modifiers)

public static boolean metaStateHasNoModifiers (int metaState)

public static int normalizeMetaState (int metaState)