using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ElectronNET.API.Entities;
namespace ElectronNET.API.Interfaces
{
///
/// Add icons and context menus to the system's notification area.
///
public interface ITray
{
///
/// Emitted when the tray icon is clicked.
///
event Action OnClick;
///
/// macOS, Windows: Emitted when the tray icon is right clicked.
///
event Action OnRightClick;
///
/// macOS, Windows: Emitted when the tray icon is double clicked.
///
event Action OnDoubleClick;
///
/// Windows: Emitted when the tray balloon shows.
///
event Action OnBalloonShow;
///
/// Windows: Emitted when the tray balloon is clicked.
///
event Action OnBalloonClick;
///
/// Windows: Emitted when the tray balloon is closed
/// because of timeout or user manually closes it.
///
event Action OnBalloonClosed;
///
/// Gets the menu items.
///
///
/// The menu items.
///
IReadOnlyCollection