using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Channels
{
///
/// The channel requires a media info callback.
///
public interface IRequiresMediaInfoCallback
{
///
/// Gets the channel item media information.
///
/// The channel item id.
/// The cancellation token.
/// The enumerable of media source info.
Task> GetChannelItemMediaInfo(string id, CancellationToken cancellationToken);
}
}