using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using MediaBrowser.Model.Configuration; using MediaBrowser.Model.Entities; namespace MediaBrowser.Controller.Chapters { /// /// Interface IChapterManager /// public interface IChapterManager { /// /// Gets the chapters. /// /// The item identifier. /// List{ChapterInfo}. IEnumerable GetChapters(string itemId); /// /// Saves the chapters. /// /// The item identifier. /// The chapters. /// The cancellation token. /// Task. Task SaveChapters(string itemId, List chapters, CancellationToken cancellationToken); /// /// Gets the configuration. /// /// ChapterOptions. ChapterOptions GetConfiguration(); } }