Skip to main content

Enum VibrationEffectConstants

Declaration
public enum VibrationEffectConstants

Fields

EFFECT_CLICK

A click effect. Use this effect as a baseline, as it's the most common type of click effect. API Level 29+

Declaration
EFFECT_CLICK = 0

EFFECT_DOUBLE_CLICK

A double click effect. API Level 29+

Declaration
EFFECT_DOUBLE_CLICK = 1

EFFECT_HEAVY_CLICK

A heavy click effect. This effect is stronger than EFFECT_CLICK. API Level 29+

Declaration
EFFECT_HEAVY_CLICK = 5

EFFECT_TICK

A tick effect. This effect is less strong compared to EFFECT_CLICK. API Level 29+

Declaration
EFFECT_TICK = 2