NotificationManager

Dispatch primitive underneath a platform's MeshNotificationManager: posts opaque Notification records, cancels by id, or wipes all active notifications. Shared code never calls it directly; the desktop implementation composes over it, while Android renders its notifications natively.

Functions

Link copied to clipboard
abstract fun cancel(id: Int)
Link copied to clipboard
abstract fun cancelAll()
Link copied to clipboard
abstract suspend fun dispatch(notification: Notification): Boolean

Returns true only when the platform accepted the notification for delivery. Suspends until the platform resolves the send, so the result reflects the actual outcome rather than an optimistic guess (desktop native senders shell out to OS tools and complete asynchronously).