IRequiresMediaInfoCallback.cs 610 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. using System.Threading;
  3. using System.Threading.Tasks;
  4. namespace MediaBrowser.Controller.Channels
  5. {
  6. public interface IRequiresMediaInfoCallback
  7. {
  8. /// <summary>
  9. /// Gets the channel item media information.
  10. /// </summary>
  11. /// <param name="id">The identifier.</param>
  12. /// <param name="cancellationToken">The cancellation token.</param>
  13. /// <returns>Task{IEnumerable{ChannelMediaInfo}}.</returns>
  14. Task<IEnumerable<ChannelMediaInfo>> GetChannelItemMediaInfo(string id, CancellationToken cancellationToken);
  15. }
  16. }