Function tauri_wasm::plugin::notification::is_permission_granted
source · pub async fn is_permission_granted() -> Result<bool>
Expand description
Checks if the permission to send notifications is granted.
§Example
use tauri_sys::notification;
let is_granted = notification::is_permission_granted().await?;