NotificationAction Class

An action of a notification (https://notifications.spec.whatwg.org/#dictdef-notificationaction). The library does not support the actions.

public sealed class NotificationAction

Constructors

NameDescription
NotificationAction()

NotificationAction()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public NotificationAction()

No documentation is available.

Properties

NameDescription
ActionGets the name of the action.
IconGets the URL of the icon of the action.
NavigateGets the URL to navigate to when the action is activated.
TitleGets the title of the action.

Gets the name of the action.

public required string Action { get; init; }

Gets the URL of the icon of the action.

public string? Icon { get; init; }

Gets the title of the action.

public required string Title { get; init; }