2025-11-22 02:16:10 +01:00
|
|
|
|
using System.Runtime.Versioning;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-18 03:49:34 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
|
|
|
|
[SupportedOSPlatform("macos")]
|
2017-10-18 03:49:34 +02:00
|
|
|
|
public class NotificationAction
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Gets or sets the label for the action.
|
2017-10-18 03:49:34 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Text { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Gets or sets the type of action; can be 'button'.
|
2017-10-18 03:49:34 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|