jellyfin/MediaBrowser.Controller/Library/IIntroProvider.cs

33 lines
899 B
C#
Raw Normal View History

using System.Collections.Generic;
2018-12-27 16:27:57 -07:00
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Class BaseIntroProvider
/// </summary>
public interface IIntroProvider
{
/// <summary>
/// Gets the intros.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="user">The user.</param>
/// <returns>IEnumerable{System.String}.</returns>
Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user);
/// <summary>
/// Gets all intro files.
/// </summary>
/// <returns>IEnumerable{System.String}.</returns>
IEnumerable<string> GetAllIntroFiles();
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
string Name { get; }
}
}