DesktopNotification record

Namespace Runic.Platform · Runic.Platform 0.7.0-preview.5

public sealed record DesktopNotification : IEquatable<DesktopNotification>

Inherits or implements IEquatable.

Reusing Id replaces a notification. Submission does not guarantee display.

Constructors

DesktopNotification

public DesktopNotification(string Id, string Title, string Body)

Reusing Id replaces a notification. Submission does not guarantee display.

Properties

Actions

public ImmutableArray<DesktopNotificationAction> Actions { get; init; }

Up to four actions with distinct application-owned identifiers.

ActivationUri

public Uri? ActivationUri { get; init; }

Optional registered application URI for activation after process exit.

Remarks

On Windows the shell launches this URI, with notification and action query parameters, through its registered protocol handler instead of raising Activated, including while the process runs.

Body

public string Body { get; init; }

No documentation.

Id

public string Id { get; init; }

No documentation.

Title

public string Title { get; init; }

No documentation.