Function tauri_sys::notification::request_permission

source ·
pub async fn request_permission() -> Result<Permission, Error>
Expand description

Requests the permission to send notifications.

§Example

use tauri_sys::notification;

let perm = notification::request_permission().await?;