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

? Examples
KeyEventCompat()
Public Methods

? Examples
static boolean hasModifiers( KeyEvent event, int modifiers)

? Examples
static boolean hasNoModifiers( KeyEvent event)

? Examples
static boolean metaStateHasModifiers(int metaState, int modifiers)

? Examples
static boolean metaStateHasNoModifiers(int metaState)

? Examples
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)

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.