jellyfin/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs

19 lines
630 B
C#
Raw Normal View History

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