What problem does it solve?
This Skill provides Kotlin SDK-based haptic feedback for Android apps, addressing the need for engaging and intuitive touch interactions, particularly in scenarios where touch sensations can enhance the user experience.
Core Features & Use Cases
- Custom Haptic Patterns: Compose and play custom haptic patterns with precise control over amplitude and frequency.
- System Presets: Access pre-defined system haptic effects like impacts, notifications, and selections for quick integration.
- Gesture-Based Haptics: Implement gesture-driven feedback for more responsive interactions.
- Cross-Platform Consistency: Ensures the same haptic API behavior across iOS and Android platforms.
- Use Case: Integrate into games or interactive applications where specific haptic effects enhance user feedback on touch or gestures.
Quick Start
Create a Pulsar instance and get the presets from it to play predefined effects:
val presets = pulsar.getPresets()
presets.systemImpactLight()