using MediaBrowser.Model.Entities;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Persistence
{
///
/// Interface IDisplayPreferencesRepository
///
public interface IDisplayPreferencesRepository : IRepository
{
///
/// Opens the connection to the repository
///
/// Task.
Task Initialize();
///
/// Saves display preferences for an item
///
/// The display preferences.
/// The cancellation token.
/// Task.
Task SaveDisplayPreferences(DisplayPreferences displayPreferences,
CancellationToken cancellationToken);
///
/// Gets the display preferences.
///
/// The display preferences id.
/// Task{DisplayPreferences}.
DisplayPreferences GetDisplayPreferences(Guid displayPreferencesId);
}
}