mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-19 20:09:03 -07:00
25 lines
660 B
C#
25 lines
660 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
namespace MediaBrowser.Controller.Chapters
|
|
{
|
|
/// <summary>
|
|
/// Interface IChapterManager
|
|
/// </summary>
|
|
public interface IChapterManager
|
|
{
|
|
/// <summary>
|
|
/// Gets the chapters.
|
|
/// </summary>
|
|
/// <param name="itemId">The item identifier.</param>
|
|
/// <returns>List{ChapterInfo}.</returns>
|
|
List<ChapterInfo> GetChapters(string itemId);
|
|
|
|
/// <summary>
|
|
/// Saves the chapters.
|
|
/// </summary>
|
|
void SaveChapters(string itemId, List<ChapterInfo> chapters);
|
|
}
|
|
}
|