jellyfin/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs

19 lines
630 B
C#
Raw Normal View History

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