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