mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
32 lines
816 B
C#
32 lines
816 B
C#
using MediaBrowser.Model.Sync;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Sync
|
|
{
|
|
public interface ISyncProvider
|
|
{
|
|
/// <summary>
|
|
/// Gets the name.
|
|
/// </summary>
|
|
/// <value>The name.</value>
|
|
string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the synchronize targets.
|
|
/// </summary>
|
|
/// <param name="userId">The user identifier.</param>
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
|
List<SyncTarget> GetSyncTargets(string userId);
|
|
|
|
/// <summary>
|
|
/// Gets all synchronize targets.
|
|
/// </summary>
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
|
List<SyncTarget> GetAllSyncTargets();
|
|
}
|
|
|
|
public interface IHasUniqueTargetIds
|
|
{
|
|
|
|
}
|
|
}
|