2016-04-30 23:05:21 +00:00
|
|
|
|
using System.Collections.Generic;
|
2016-06-19 06:18:29 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2016-04-30 23:05:21 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-07-04 02:22:57 +00:00
|
|
|
|
|
2013-12-19 21:51:32 +00:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IHasUserData
|
|
|
|
|
/// </summary>
|
2015-06-01 17:07:55 +00:00
|
|
|
|
public interface IHasUserData : IHasId
|
2013-12-19 21:51:32 +00:00
|
|
|
|
{
|
2016-04-30 23:05:21 +00:00
|
|
|
|
List<string> GetUserDataKeys();
|
|
|
|
|
|
2014-07-04 02:22:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fills the user data dto values.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto">The dto.</param>
|
|
|
|
|
/// <param name="userData">The user data.</param>
|
|
|
|
|
/// <param name="user">The user.</param>
|
2016-06-19 06:18:29 +00:00
|
|
|
|
Task FillUserDataDtoValues(UserItemDataDto dto, UserItemData userData, BaseItemDto itemDto, User user);
|
2016-04-27 18:44:08 +00:00
|
|
|
|
|
|
|
|
|
bool EnableRememberingTrackSelections { get; }
|
2016-10-11 06:46:59 +00:00
|
|
|
|
|
|
|
|
|
bool SupportsPlayedStatus { get; }
|
2013-12-19 21:51:32 +00:00
|
|
|
|
}
|
|
|
|
|
}
|