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

35 lines
858 B
C#
Raw Normal View History

2015-02-28 14:35:12 +00:00
using MediaBrowser.Model.Sync;
2014-07-22 01:29:06 +00:00
using System.Collections.Generic;
namespace MediaBrowser.Controller.Sync
{
public interface ISyncProvider
{
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
string Name { get; }
2017-07-15 20:19:58 +00:00
bool SupportsRemoteSync { get; }
2014-12-31 06:24:49 +00:00
/// <summary>
/// Gets the synchronize targets.
/// </summary>
/// <param name="userId">The user identifier.</param>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
2017-08-19 19:43:35 +00:00
List<SyncTarget> GetSyncTargets(string userId);
2015-02-28 14:35:12 +00:00
/// <summary>
/// Gets all synchronize targets.
/// </summary>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
2017-08-19 19:43:35 +00:00
List<SyncTarget> GetAllSyncTargets();
2014-07-22 01:29:06 +00:00
}
2014-12-24 06:28:40 +00:00
public interface IHasUniqueTargetIds
{
2017-07-15 20:19:58 +00:00
2014-12-24 06:28:40 +00:00
}
2014-07-22 01:29:06 +00:00
}