FileDocCategorySizeDatePackage
HapticFeedbackConstants.javaAPI DocAndroid 5.1 API2414Thu Mar 12 22:22:10 GMT 2015android.view

HapticFeedbackConstants

public class HapticFeedbackConstants extends Object
Constants to be used to perform haptic feedback effects via {@link View#performHapticFeedback(int)}

Fields Summary
public static final int
LONG_PRESS
The user has performed a long press on an object that is resulting in an action being performed.
public static final int
VIRTUAL_KEY
The user has pressed on a virtual on-screen key.
public static final int
KEYBOARD_TAP
The user has pressed a soft keyboard key.
public static final int
CLOCK_TICK
The user has pressed either an hour or minute tick of a Clock.
public static final int
CALENDAR_DATE
The user has pressed either a day or month or year date of a Calendar.
public static final int
SAFE_MODE_DISABLED
This is a private constant. Feel free to renumber as desired.
public static final int
SAFE_MODE_ENABLED
This is a private constant. Feel free to renumber as desired.
public static final int
FLAG_IGNORE_VIEW_SETTING
Flag for {@link View#performHapticFeedback(int, int) View.performHapticFeedback(int, int)}: Ignore the setting in the view for whether to perform haptic feedback, do it always.
public static final int
FLAG_IGNORE_GLOBAL_SETTING
Flag for {@link View#performHapticFeedback(int, int) View.performHapticFeedback(int, int)}: Ignore the global setting for whether to perform haptic feedback, do it always.
Constructors Summary
private HapticFeedbackConstants()

Methods Summary