diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-11 14:36:48 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-11 14:36:48 -0500 |
| commit | 78e6304ac03f79f1cb104bda1bac3b2e917173a4 (patch) | |
| tree | 069d14f8cf7a7dbfeb6645146d7fd840539bc1b1 /MediaBrowser.Controller/LiveTv/ILiveTvService.cs | |
| parent | a347475b7b16a12735f26a3bd855c4b9df5327b4 (diff) | |
updated live tv api
Diffstat (limited to 'MediaBrowser.Controller/LiveTv/ILiveTvService.cs')
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/ILiveTvService.cs | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs index 86058696d..f7181a99b 100644 --- a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs +++ b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs @@ -1,7 +1,7 @@ -using System.Collections.Generic; +using MediaBrowser.Model.LiveTv; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using MediaBrowser.Model.LiveTv; namespace MediaBrowser.Controller.LiveTv { @@ -23,8 +23,19 @@ namespace MediaBrowser.Controller.LiveTv /// <returns>Task{IEnumerable{ChannelInfo}}.</returns> Task<IEnumerable<ChannelInfo>> GetChannelsAsync(CancellationToken cancellationToken); + /// <summary> + /// Gets the recordings asynchronous. + /// </summary> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns>Task{IEnumerable{RecordingInfo}}.</returns> Task<IEnumerable<RecordingInfo>> GetRecordingsAsync(CancellationToken cancellationToken); - Task<IEnumerable<EpgFullInfo>> GetEpgAsync(CancellationToken cancellationToken); + /// <summary> + /// Gets the epg asynchronous. + /// </summary> + /// <param name="channelId">The channel identifier.</param> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns>Task{IEnumerable{EpgFullInfo}}.</returns> + Task<IEnumerable<EpgFullInfo>> GetEpgAsync(string channelId, CancellationToken cancellationToken); } } |
