using System.Runtime.Versioning;
namespace ElectronNET.API
{
///
///
///
public enum DisplayBalloonIconType
{
none,
info,
warning,
error,
custom
}
/// Up-to-date with Electron API 39.2
[SupportedOSPlatform("Windows")]
public class DisplayBalloonOptions
{
///
/// Gets or sets the icon.
///
///
/// The icon.
///
public string Icon { get; set; }
///
/// Gets or sets the title.
///
///
/// The title.
///
public string Title { get; set; }
///
/// Gets or sets the content.
///
///
/// The content.
///
public string Content { get; set; }
///
/// (optional) - Icon type for the balloon: none, info, warning, error or custom.
/// Default is custom.
///
public DisplayBalloonIconType IconType { get; set; } = DisplayBalloonIconType.custom;
///
/// (optional) - Use the large version of the icon. Default is true.
/// Maps to Windows NIIF_LARGE_ICON.
///
public bool LargeIcon { get; set; } = true;
///
/// (optional) - Do not play the associated sound. Default is false.
/// Maps to Windows NIIF_NOSOUND.
///
public bool NoSound { get; set; }
///
/// (optional) - Do not display the balloon if the current user is in "quiet time".
/// Default is false. Maps to Windows NIIF_RESPECT_QUIET_TIME.
///
public bool RespectQuietTime { get; set; }
}
}