Interface IUserDataRepository
Provides an interface to implement a UserData repository
Inherited Members
System.IDisposable.Dispose()
Assembly: MediaBrowser.Controller.dll
public interface IUserDataRepository : IRepository, IDisposable
Methods
Declaration
void ClearTrackSelections(long userId, MediaStreamType trackType)
Parameters
Return all user data associated with the given user
Declaration
List<UserItemData> GetAllUserData(long internalUserId)
Parameters
Type |
Name |
Description |
System.Int64 |
internalUserId |
|
Returns
Type |
Description |
System.Collections.Generic.List<UserItemData> |
|
Declaration
UserItemData GetUserData(long internalUserId, long itemId, UserDataFields[] fields)
Parameters
Type |
Name |
Description |
System.Int64 |
internalUserId |
|
System.Int64 |
itemId |
|
UserDataFields[] |
fields |
|
Returns
Save all user data associated with the given user
Declaration
void SaveAllUserData(long internalUserId, UserItemData[] userData, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Int64 |
internalUserId |
|
UserItemData[] |
userData |
|
System.Threading.CancellationToken |
cancellationToken |
|
Declaration
void SaveUserData(long internalUserId, long itemId, UserItemData userData, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Int64 |
internalUserId |
|
System.Int64 |
itemId |
|
UserItemData |
userData |
|
System.Threading.CancellationToken |
cancellationToken |
|
Declaration
void UnhideSeriesFromResume(long userId, string seriesPresentationUniqueKey)
Parameters
Type |
Name |
Description |
System.Int64 |
userId |
|
System.String |
seriesPresentationUniqueKey |
|
Extension Methods