Skip to main content

play

Function play 

Source
pub fn play(h: Haptic)
Expand description

Play a haptic through the platform’s native API. Fire-and-forget: no return value, never panics, and a no-op on platforms/hardware without a haptic engine (see is_supported).

Day API ↩ Guides· daybrite.dev