Skip to main content

Enum VibrationEffectCompositionConstants

Declaration
public enum VibrationEffectCompositionConstants

Fields

PRIMITIVE_CLICK

This effect should produce a sharp, crisp click sensation. API Level 30+

Declaration
PRIMITIVE_CLICK = 1

PRIMITIVE_LOW_TICK

This very short low frequency effect should produce a light crisp sensation intended to be used repetitively for dynamic feedback. API Level 31+

Declaration
PRIMITIVE_LOW_TICK = 8

PRIMITIVE_QUICK_FALL

A haptic effect that simulates quick downwards movement with gravity. API Level 30+

Declaration
PRIMITIVE_QUICK_FALL = 6

PRIMITIVE_QUICK_RISE

A haptic effect that simulates quick upward movement against gravity. API Level 30+

Declaration
PRIMITIVE_QUICK_RISE = 4

PRIMITIVE_SLOW_RISE

A haptic effect that simulates slow upward movement against gravity. API Level 30+

Declaration
PRIMITIVE_SLOW_RISE = 5

PRIMITIVE_SPIN

A haptic effect that simulates spinning momentum. API Level 30+

Declaration
PRIMITIVE_SPIN = 3

PRIMITIVE_THUD

A haptic effect that simulates downwards movement with gravity. API Level 30+

Declaration
PRIMITIVE_THUD = 2

PRIMITIVE_TICK

This very short effect should produce a light crisp sensation intended to be used repetitively for dynamic feedback. API Level 30+

Declaration
PRIMITIVE_TICK = 7