Expand description
Blocking wrappers for fire-and-forget operations.
These are safe to call from any thread. None of them wait for a
notification response — use crate::block_on_main with the async
API for that.
Functions§
- cancel_
pending - Cancel a pending (not yet delivered) notification by its identifier.
- close_
delivered - Remove an already-delivered notification from Notification Center by its identifier.
- get_
notification_ settings - Query the current notification authorization settings, blocking the caller.
- request_
auth - Ask for permission to display notifications (blocks caller).
- send
- Schedule a notification for immediate delivery, blocking the calling thread.