jellyfin-server/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs

19 lines
627 B
C#
Raw Normal View History

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