Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Sync/ISyncProvider.cs

33 lines
816 B
C#
Raw Normal View History

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