VibrationHelper
Centralized vibration helper for Android.
Simplifies playing haptic feedback and custom vibration waveforms.
Requires permission: VIBRATE must be declared in the Manifest.
Example usage:
val vibrationHelper = VibrationHelper(context)
// Using presets
vibrationHelper.error()
vibrationHelper.success()
// Using custom patterns
vibrationHelper.vibrate(myPattern)Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Joue le pattern fourni.
Link copied to clipboard