NotificationAction Class
An action of a notification (https://notifications.spec.whatwg.org/#dictdef-notificationaction). The library does not support the actions.
public sealed class NotificationActionConstructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Action | Gets the name of the action. |
| Icon | Gets the URL of the icon of the action. |
| Navigate | Gets the URL to navigate to when the action is activated. |
| Title | Gets the title of the action. |
Action
Notification.csGets the name of the action.
public required string Action { get; init; }Icon
Notification.csGets the URL of the icon of the action.
public string? Icon { get; init; }Title
Notification.csGets the title of the action.
public required string Title { get; init; }