separate display preferences per client

This commit is contained in:
Luke Pulverenti
2013-07-26 21:15:55 -04:00
parent 90077dd216
commit 2b07e6aaf8
14 changed files with 85 additions and 53 deletions

View File

@@ -477,8 +477,10 @@ namespace MediaBrowser.Model.ApiClient
/// Gets the display preferences.
/// </summary>
/// <param name="id">The id.</param>
/// <param name="userId">The user id.</param>
/// <param name="client">The client.</param>
/// <returns>Task{BaseItemDto}.</returns>
Task<DisplayPreferences> GetDisplayPreferencesAsync(string id);
Task<DisplayPreferences> GetDisplayPreferencesAsync(string id, string userId, string client);
/// <summary>
/// Updates display preferences for a user
@@ -487,7 +489,7 @@ namespace MediaBrowser.Model.ApiClient
/// <param name="displayPreferences">The display preferences.</param>
/// <returns>Task{DisplayPreferences}.</returns>
/// <exception cref="System.ArgumentNullException">userId</exception>
Task UpdateDisplayPreferencesAsync(DisplayPreferences displayPreferences);
Task UpdateDisplayPreferencesAsync(DisplayPreferences displayPreferences, string userId, string client);
/// <summary>
/// Posts a set of data to a url, and deserializes the return stream into T