Function tauri_sys::notification::is_permission_granted

source ·
pub async fn is_permission_granted() -> Result<bool, Error>
Expand description

Checks if the permission to send notifications is granted.

§Example

use tauri_sys::notification;

let is_granted = notification::is_permission_granted().await?;