@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>>| Parameter | Type |
|---|---|
style | ImpactFeedbackStyle |
Promise<Result<null, never>>
Source: undefined
function notificationFeedback(type): Promise<Result<null, never>>| Parameter | Type |
|---|---|
type | NotificationFeedbackType |
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>>| Parameter | Type |
|---|---|
duration | number |
Promise<Result<null, never>>
Source: undefined
© 2026 Tauri Contributors. CC-BY / MIT