mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
33 lines
838 B
C#
33 lines
838 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>
|
|
IEnumerable<SyncTarget> GetSyncTargets(string userId);
|
|
|
|
/// <summary>
|
|
/// Gets all synchronize targets.
|
|
/// </summary>
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
|
IEnumerable<SyncTarget> GetAllSyncTargets();
|
|
}
|
|
|
|
public interface IHasUniqueTargetIds
|
|
{
|
|
|
|
}
|
|
}
|