jellyfin-server/MediaBrowser.Controller/Entities/IHasUserData.cs
2016-10-11 02:46:59 -04:00

27 lines
764 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Entities
{
/// <summary>
/// Interface IHasUserData
/// </summary>
public interface IHasUserData : IHasId
{
List<string> GetUserDataKeys();
/// <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>
Task FillUserDataDtoValues(UserItemDataDto dto, UserItemData userData, BaseItemDto itemDto, User user);
bool EnableRememberingTrackSelections { get; }
bool SupportsPlayedStatus { get; }
}
}