DesktopNotifications class

Namespace Runic.Platform in Runic.Platform 0.23.0

public static class DesktopNotifications

Desktop notifications for hosts and platforms that cannot provide them.

Methods

Unavailable

public static IDesktopNotifications Unavailable(PlatformUnavailableReason reason)

Creates notifications that report every request unavailable for reason.

Remarks

IDesktopNotifications.RequestPermissionAsync, IDesktopNotifications.ShowAsync and IDesktopNotifications.RemoveAsync return Unavailable, and IDesktopNotifications.Activated is never raised. Nothing throws except for a missing argument, caller cancellation and use after disposal.