Interface IChannelManager
Assembly: MediaBrowser.Controller.dll
public interface IChannelManager
Properties
Declaration
int ChannelCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
Declaration
void AddParts(IEnumerable<IChannel> channels)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<IChannel> |
channels |
The channels.
|
Declaration
bool CanDelete(BaseItem item, Channel channel)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
Task DeleteItem(BaseItem item)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
T GetChannel<T>()
where T : IChannel
Returns
Type Parameters
Declaration
(string, SortOrder)[] GetLatestItemsOrderBy(Channel channel)
Parameters
| Type |
Name |
Description |
| Channel |
channel |
|
Returns
| Type |
Description |
| System.ValueTuple<System.String, SortOrder>[] |
|
Declaration
LibraryOptions GetLibraryOptions(Channel channel)
Parameters
| Type |
Name |
Description |
| Channel |
channel |
|
Returns
Declaration
List<MediaSourceInfo> GetStaticMediaSources(BaseItem item, Channel channel)
Parameters
Returns
GetUserViewItems(Channel, IDataContext, CancellationToken)
Declaration
BaseItem[] GetUserViewItems(Channel channel, IDataContext dataContext, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| Channel |
channel |
|
| IDataContext |
dataContext |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
RefreshChannelContent(IChannel, Int32, String, CancellationToken)
Declaration
Task RefreshChannelContent(IChannel channel, int maxRefreshLevel, string restrictTopLevelFolderId, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| IChannel |
channel |
|
| System.Int32 |
maxRefreshLevel |
|
| System.String |
restrictTopLevelFolderId |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Extension Methods