Skip to content
GridtokenX.com

@tauri-apps/plugin-haptics

type ImpactFeedbackStyle:
| "light"
| "medium"
| "heavy"
| "soft"
| "rigid";

Source: undefined


type NotificationFeedbackType: "success" | "warning" | "error";

Source: undefined

function impactFeedback(style): Promise<Result<null, never>>
ParameterType
styleImpactFeedbackStyle

Promise<Result<null, never>>

Source: undefined


function notificationFeedback(type): Promise<Result<null, never>>
ParameterType
typeNotificationFeedbackType

Promise<Result<null, never>>

Source: undefined


function selectionFeedback(): Promise<Result<null, never>>

Promise<Result<null, never>>

Source: undefined


function vibrate(duration): Promise<Result<null, never>>
ParameterType
durationnumber

Promise<Result<null, never>>

Source: undefined


© 2026 Tauri Contributors. CC-BY / MIT