You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
761 B
28 lines
761 B
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();
|
|
}
|
|
}
|