Skip to main content

Crate tauri_plugin_notification

Crate tauri_plugin_notification 

Source
Expand description

Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API.

§Cargo features

  • windows7-compat: Deprecated and does nothing, since Tauri no longer supports Windows 7.

Structs§

Action
A button the user can tap on a notification, belonging to an ActionType.
ActionBuilder
Builder for an Action, created with Action::builder.
ActionPerformed
An action the user performed on a notification, delivered to the handlers of Notification::on_action and to the onAction listeners of the JavaScript API.
ActionType
A group of Actions a notification can display, referenced by NotificationBuilder::action_type_id.
ActionTypeBuilder
Builder for an ActionType, created with ActionType::builder.
ActiveNotification
A notification that was delivered and is still visible in the notification center.
Attachment
A media file attached to a notification.
Channel
A notification channel, the category users configure notification behavior on.
ChannelBuilder
Builder for a Channel, created with Channel::builder.
Notification
Access to the notification APIs.
NotificationBuilder
The notification builder.
NotificationData
The payload of a notification, as sent to the platform implementation.
PendingNotification
A notification that was scheduled and has not been delivered yet.
ScheduleInterval
The set of date fields a notification must match to be delivered.

Enums§

Error
Errors returned by the notification plugin.
Importance
How much the notifications of a Channel interrupt the user.
PermissionState
Permission state.
Schedule
Defines when a notification is delivered.
ScheduleEvery
The unit of the repeating interval used by Schedule::Every.
Visibility
How much of a notification is shown on the lock screen.

Traits§

NotificationExt
Extensions to tauri::App, tauri::AppHandle, tauri::WebviewWindow, tauri::Webview and tauri::Window to access the notification APIs.

Functions§

init
Initializes the plugin.

Type Aliases§

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