public class HapticFeedbackConstants extends Object
View.performHapticFeedback(int)
Modifier and Type | Field and Description |
---|---|
static int |
FLAG_IGNORE_GLOBAL_SETTING
Flag for
View.performHapticFeedback(int, int) : Ignore the global setting
for whether to perform haptic feedback, do it always. |
static int |
FLAG_IGNORE_VIEW_SETTING
Flag for
View.performHapticFeedback(int, int) : Ignore the setting in the
view for whether to perform haptic feedback, do it always. |
static int |
KEYBOARD_TAP
The user has pressed a soft keyboard key.
|
static int |
LONG_PRESS
The user has performed a long press on an object that is resulting
in an action being performed.
|
static int |
SAFE_MODE_DISABLED
This is a private constant.
|
static int |
SAFE_MODE_ENABLED
This is a private constant.
|
static int |
VIRTUAL_KEY
The user has pressed on a virtual on-screen key.
|
public static final int LONG_PRESS
public static final int VIRTUAL_KEY
public static final int KEYBOARD_TAP
public static final int SAFE_MODE_DISABLED
public static final int SAFE_MODE_ENABLED
public static final int FLAG_IGNORE_VIEW_SETTING
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
View.performHapticFeedback(int, int)
: Ignore the global setting
for whether to perform haptic feedback, do it always.