Interface IDisplayPreferencesRepository
Interface IDisplayPreferencesRepository
Namespace: MediaBrowser.Controller.Persistence
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IDisplayPreferencesRepository : IRepository, IDisposable
Methods
GetDisplayPreferences(String, Guid, String)
Gets the display preferences.
Declaration
DisplayPreferences GetDisplayPreferences(string displayPreferencesId, Guid userId, string client)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayPreferencesId | The display preferences id. |
System.Guid | userId | The user id. |
System.String | client | The client. |
Returns
Type | Description |
---|---|
DisplayPreferences | Task{DisplayPreferences}. |
SaveDisplayPreferences(DisplayPreferences, Guid, String, CancellationToken)
Saves display preferences for an item
Declaration
void SaveDisplayPreferences(DisplayPreferences displayPreferences, Guid userId, string client, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DisplayPreferences | displayPreferences | The display preferences. |
System.Guid | userId | The user id. |
System.String | client | The client. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |