using MediaBrowser.Controller.Entities; using MediaBrowser.Model.Entities; using System; using System.Threading; using System.Threading.Tasks; namespace MediaBrowser.Controller.Library { /// /// Interface IUserDataManager /// public interface IUserDataManager { /// /// Saves the user data. /// /// The user id. /// The key. /// The user data. /// The reason. /// The cancellation token. /// Task. Task SaveUserData(Guid userId, string key, UserItemData userData, UserDataSaveReason reason, CancellationToken cancellationToken); /// /// Gets the user data. /// /// The user id. /// The key. /// Task{UserItemData}. UserItemData GetUserData(Guid userId, string key); } }