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>
|
|
|
|
|
/// <param name="remotePath">The remote path.</param>
|
|
|
|
|
/// <param name="target">The target.</param>
|
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
2015-03-28 05:07:29 +00:00
|
|
|
|
/// <returns>Task<SyncedFileInfo>.</returns>
|
|
|
|
|
Task<SyncedFileInfo> GetSyncedFileInfo(string remotePath, SyncTarget target, CancellationToken cancellationToken);
|
2015-03-28 02:19:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|