# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Constants | Inherited Methods

# HapticFeedbackConstants

`public class HapticFeedbackConstants`
`extends Object` ``

java.lang.Object
↳ | android.view.HapticFeedbackConstants

Constants to be used to perform haptic feedback effects via `View#performHapticFeedback(int)`

## Summary

### Constants
`int` | `CLOCK_TICK` The user has pressed either an hour or minute tick of a Clock.
`int` | `CONFIRM` A haptic effect to signal the confirmation or successful completion of a user interaction.
`int` | `CONTEXT_CLICK` The user has performed a context click on an object.
`int` | `FLAG_IGNORE_GLOBAL_SETTING` Flag for `View#performHapticFeedback(int, int)`: Ignore the global setting for whether to perform haptic feedback, do it always.
`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.
`int` | `GESTURE_END` The user has finished a gesture (e.g. on the soft keyboard).
`int` | `GESTURE_START` The user has started a gesture (e.g. on the soft keyboard).
`int` | `KEYBOARD_PRESS` The user has pressed a virtual or software keyboard key.
`int` | `KEYBOARD_RELEASE` The user has released a virtual keyboard key.
`int` | `KEYBOARD_TAP` The user has pressed a soft keyboard key.
`int` | `LONG_PRESS` The user has performed a long press on an object that is resulting in an action being performed.
`int` | `REJECT` A haptic effect to signal the rejection or failure of a user interaction.
`int` | `TEXT_HANDLE_MOVE` The user has performed a selection/insertion handle move on text field.
`int` | `VIRTUAL_KEY` The user has pressed on a virtual on-screen key.
`int` | `VIRTUAL_KEY_RELEASE` The user has released a virtual key.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Constants

### CLOCK_TICK

    public static final int CLOCK_TICK

The user has pressed either an hour or minute tick of a Clock.

Constant Value: 4 (0x00000004)

### CONFIRM

    public static final int CONFIRM

A haptic effect to signal the confirmation or successful completion of a user interaction.

Constant Value: 16 (0x00000010)

### CONTEXT_CLICK

    public static final int CONTEXT_CLICK

The user has performed a context click on an object.

Constant Value: 6 (0x00000006)

### FLAG_IGNORE_GLOBAL_SETTING

    public static final int FLAG_IGNORE_GLOBAL_SETTING

Flag for `View#performHapticFeedback(int, int)`: Ignore the global setting for whether to perform haptic feedback, do it always.

Constant Value: 2 (0x00000002)

### FLAG_IGNORE_VIEW_SETTING

    public static final 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.

Constant Value: 1 (0x00000001)

### GESTURE_END

    public static final int GESTURE_END

The user has finished a gesture (e.g. on the soft keyboard).

Constant Value: 13 (0x0000000d)

### GESTURE_START

    public static final int GESTURE_START

The user has started a gesture (e.g. on the soft keyboard).

Constant Value: 12 (0x0000000c)

### KEYBOARD_PRESS

    public static final int KEYBOARD_PRESS

The user has pressed a virtual or software keyboard key.

Constant Value: 3 (0x00000003)

### KEYBOARD_RELEASE

    public static final int KEYBOARD_RELEASE

The user has released a virtual keyboard key.

Constant Value: 7 (0x00000007)

### KEYBOARD_TAP

    public static final int KEYBOARD_TAP

The user has pressed a soft keyboard key.

Constant Value: 3 (0x00000003)

### LONG_PRESS

    public static final int LONG_PRESS

The user has performed a long press on an object that is resulting in an action being performed.

Constant Value: 0 (0x00000000)

### REJECT

    public static final int REJECT

A haptic effect to signal the rejection or failure of a user interaction.

Constant Value: 17 (0x00000011)

### TEXT_HANDLE_MOVE

    public static final int TEXT_HANDLE_MOVE

The user has performed a selection/insertion handle move on text field.

Constant Value: 9 (0x00000009)

### VIRTUAL_KEY

    public static final int VIRTUAL_KEY

The user has pressed on a virtual on-screen key.

Constant Value: 1 (0x00000001)

### VIRTUAL_KEY_RELEASE

    public static final int VIRTUAL_KEY_RELEASE

The user has released a virtual key.

Constant Value: 8 (0x00000008)

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*