using System.Threading; using System.Threading.Tasks; using MediaBrowser.Controller.Entities; namespace MediaBrowser.Controller.Library { /// /// Interface IMetadataSaver. /// public interface IMetadataSaver { /// /// Gets the name. /// /// The name. string Name { get; } /// /// Determines whether [is enabled for] [the specified item]. /// /// The item. /// Type of the update. /// true if [is enabled for] [the specified item]; otherwise, false. bool IsEnabledFor(BaseItem item, ItemUpdateType updateType); /// /// Saves the specified item. /// /// The item. /// The cancellation token. /// The task object representing the asynchronous operation. Task SaveAsync(BaseItem item, CancellationToken cancellationToken); } }