Expand description
Trigger haptic feedback on supported devices.
§Cargo features
- specta: Add support for
specta::spectaon structs likeImpactFeedbackStyle,NotificationFeedbackType.
Structs§
- Haptics
- Access to the haptics APIs.
Enums§
- Error
- Errors returned by the haptics APIs.
- Impact
Feedback Style - The style of an impact-feedback haptic.
- Notification
Feedback Type - The type of notification feedback, indicating the outcome of a task or action.
Traits§
- Haptics
Ext - Extensions to
tauri::App,tauri::AppHandle,tauri::WebviewWindow,tauri::Webviewandtauri::Windowto access the haptics APIs.
Functions§
- init
- Initializes the plugin.
Type Aliases§
- Result
- Alias for a
std::result::Resultwith the error typeError.