You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
924 B
32 lines
924 B
4 months ago
|
#nullable disable
|
||
|
|
||
|
#pragma warning disable CS1591
|
||
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading;
|
||
|
using MediaBrowser.Model.Entities;
|
||
|
|
||
|
namespace MediaBrowser.Controller.Persistence;
|
||
|
|
||
4 months ago
|
/// <summary>
|
||
|
/// Provides methods for accessing MediaStreams.
|
||
|
/// </summary>
|
||
|
public interface IMediaStreamRepository
|
||
4 months ago
|
{
|
||
|
/// <summary>
|
||
|
/// Gets the media streams.
|
||
|
/// </summary>
|
||
|
/// <param name="filter">The query.</param>
|
||
|
/// <returns>IEnumerable{MediaStream}.</returns>
|
||
4 months ago
|
IReadOnlyList<MediaStream> GetMediaStreams(MediaStreamQuery filter);
|
||
4 months ago
|
|
||
|
/// <summary>
|
||
|
/// Saves the media streams.
|
||
|
/// </summary>
|
||
|
/// <param name="id">The identifier.</param>
|
||
|
/// <param name="streams">The streams.</param>
|
||
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||
|
void SaveMediaStreams(Guid id, IReadOnlyList<MediaStream> streams, CancellationToken cancellationToken);
|
||
|
}
|