Package-level declarations
Types
Link copied to clipboard
Plays a waveform vibration from timings — alternating OFF/ON durations in ms, starting with OFF (timings[0] is a delay before the first vibration; matches VibrationEffect.createWaveform/legacy Vibrator.vibrate(long[], int) semantics exactly). Any non-empty length is valid — there is no even/odd requirement. Optional repeat index (-1 = no repeat, clamped to bounds). Requires VIBRATE.
Link copied to clipboard
Triggers a one-shot vibration for duration_ms (1-10000, clamped). Optional amplitude (1-255) is only honored on API 26+; on older devices the duration vibrates at the system default. Requires VIBRATE.
Link copied to clipboard
object VibrationTools
Provider for vibration tools: VibrateTool and VibratePatternTool. Requires the VIBRATE permission (a normal install-time permission).