platform-guideline checked

Android Developers: Add haptic feedback to events

Documents Android haptic feedback APIs, predefined constants, view.performHapticFeedback, vibrator APIs, user-setting behavior, hardware support, and event-specific haptic implementation.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Haptic feedback Choose haptic feedback when the tactile effect reinforces a visible interaction milestone and improves physical confidence without carrying required information alone. A haptic effect plays only for a user-relevant interaction event and stays synchronized with the visible state change it reinforces. Supports platform haptic APIs, predefined constants, user settings, and hardware support.

Evidence Role

This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: Android Developers. Last checked: .