using MediaBrowser.Controller.Entities;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Persistence
{
///
/// Provides an interface to implement a UserData repository
///
public interface IUserDataRepository : IRepository
{
///
/// Saves user data for an item
///
/// The item.
/// The cancellation token.
/// Task.
Task SaveUserData(BaseItem item, CancellationToken cancellationToken);
///
/// Gets user data for an item
///
/// The item.
/// IEnumerable{UserItemData}.
IEnumerable RetrieveUserData(BaseItem item);
}
}