IHaptics
Provides native device haptic feedback.
- Kind: Interface
- Namespace: SkeleKit
Methods
Impact
Triggers impact feedback to simulate physical weight or collisions.
| Parameter | Summary |
|---|---|
(optional) HapticStyle style | The weight profile of the impact sensation. |
Notify
Triggers notification feedback for successes, warnings, or errors.
| Parameter | Summary |
|---|---|
HapticsNotification notification | The event type being signaled. |
Play
Plays a custom haptic pattern built from taps and sustained vibrations.
| Parameter | Summary |
|---|---|
ReadOnlySpan<HapticEvent> events | The events making up the pattern, timed from its start. |
Selection
Triggers subtle feedback indicating a user selection change.