jellyfin/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs

19 lines
630 B
C#
Raw Normal View History

2015-03-28 03:19:20 +01:00
using MediaBrowser.Model.Sync;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Sync
{
2015-03-28 06:07:29 +01:00
public interface IHasDynamicAccess
2015-03-28 03:19:20 +01:00
{
/// <summary>
2015-03-28 06:07:29 +01:00
/// Gets the synced file information.
2015-03-28 03:19:20 +01:00
/// </summary>
2015-04-13 07:12:02 +02:00
/// <param name="id">The identifier.</param>
2015-03-28 03:19:20 +01:00
/// <param name="target">The target.</param>
/// <param name="cancellationToken">The cancellation token.</param>
2015-03-28 06:07:29 +01:00
/// <returns>Task&lt;SyncedFileInfo&gt;.</returns>
2015-04-13 07:12:02 +02:00
Task<SyncedFileInfo> GetSyncedFileInfo(string id, SyncTarget target, CancellationToken cancellationToken);
2015-03-28 03:19:20 +01:00
}
}