Interface IListingsProvider
Assembly: MediaBrowser.Controller.dll
public interface IListingsProvider
Properties
Declaration
Property Value
Type |
Description |
System.String |
|
Declaration
Property Value
Type |
Description |
System.String |
|
Declaration
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
Task<List<ChannelInfo>> GetChannels(ListingsProviderInfo info, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
ListingsProviderInfo |
info |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<ChannelInfo>> |
|
Declaration
Task<List<NameIdPair>> GetLineups(ListingsProviderInfo info, string country, string location, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
ListingsProviderInfo |
info |
|
System.String |
country |
|
System.String |
location |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<NameIdPair>> |
|
Declaration
Task<List<ProgramInfo>> GetProgramsAsync(ListingsProviderInfo info, string channelId, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
ListingsProviderInfo |
info |
|
System.String |
channelId |
|
System.DateTimeOffset |
startDateUtc |
|
System.DateTimeOffset |
endDateUtc |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<ProgramInfo>> |
|
Declaration
Task Validate(ListingsProviderInfo info, bool validateLogin, bool validateListings)
Parameters
Type |
Name |
Description |
ListingsProviderInfo |
info |
|
System.Boolean |
validateLogin |
|
System.Boolean |
validateListings |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods