using System.Runtime.Versioning; namespace ElectronNET.API.Entities { /// /// Settings returned by app.getJumpListSettings() on Windows. /// Matches Electron's JumpListSettings object. /// /// Up-to-date with Electron API 39.2 [SupportedOSPlatform("windows")] public class JumpListSettings { /// /// The minimum number of items that will be shown in the Jump List. /// public int MinItems { get; set; } = 0; /// /// Array of JumpListItem objects that correspond to items that the user has explicitly removed from custom categories /// in the Jump List. These items must not be re-added to the Jump List in the next call to app.setJumpList(categories); /// Windows will not display any custom category that contains any of the removed items. /// public JumpListItem[] RemovedItems { get; set; } = new JumpListItem[0]; } }