Skip to main content

Crate tauri_plugin_haptics

Crate tauri_plugin_haptics 

Source
Expand description

Trigger haptic feedback on supported devices.

§Cargo features

Structs§

Haptics
Access to the haptics APIs.

Enums§

Error
Errors returned by the haptics APIs.
ImpactFeedbackStyle
The style of an impact-feedback haptic.
NotificationFeedbackType
The type of notification feedback, indicating the outcome of a task or action.

Traits§

HapticsExt
Extensions to tauri::App, tauri::AppHandle, tauri::WebviewWindow, tauri::Webview and tauri::Window to access the haptics APIs.

Functions§

init
Initializes the plugin.

Type Aliases§

Result
Alias for a std::result::Result with the error type Error.