mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
28 lines
761 B
C#
28 lines
761 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();
|
|||
|
}
|
|||
|
}
|