using MediaBrowser.Model.Sync; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace MediaBrowser.Controller.Sync { public interface IServerSyncProvider : ISyncProvider { /// /// Gets the server item ids. /// /// The server identifier. /// The target. /// The cancellation token. /// Task<List<System.String>>. Task> GetServerItemIds(string serverId, SyncTarget target, CancellationToken cancellationToken); /// /// Removes the item. /// /// The server identifier. /// The item identifier. /// The target. /// The cancellation token. /// Task. Task DeleteItem(string serverId, string itemId, SyncTarget target, CancellationToken cancellationToken); /// /// Transfers the file. /// /// The server identifier. /// The item identifier. /// The input file. /// The path parts. /// The target. /// The cancellation token. /// Task. Task TransferItemFile(string serverId, string itemId, string inputFile, string[] pathParts, SyncTarget target, CancellationToken cancellationToken); } }