jellyfin-server/MediaBrowser.Controller/Dlna/IDlnaManager.cs

75 lines
2.4 KiB
C#
Raw Normal View History

2014-03-26 15:06:48 +00:00
using MediaBrowser.Model.Dlna;
using System.Collections.Generic;
2014-03-13 19:08:02 +00:00
namespace MediaBrowser.Controller.Dlna
{
public interface IDlnaManager
{
/// <summary>
2014-03-26 15:06:48 +00:00
/// Gets the profile infos.
2014-03-13 19:08:02 +00:00
/// </summary>
2014-03-26 15:06:48 +00:00
/// <returns>IEnumerable{DeviceProfileInfo}.</returns>
IEnumerable<DeviceProfileInfo> GetProfileInfos();
2014-03-13 19:08:02 +00:00
2014-03-25 05:25:03 +00:00
/// <summary>
/// Gets the profile.
/// </summary>
/// <param name="headers">The headers.</param>
/// <returns>DeviceProfile.</returns>
DeviceProfile GetProfile(IDictionary<string,string> headers);
2014-03-26 15:17:36 +00:00
/// <summary>
/// Gets the default profile.
/// </summary>
/// <returns>DeviceProfile.</returns>
DeviceProfile GetDefaultProfile();
2014-03-26 19:21:29 +00:00
2014-03-26 20:14:47 +00:00
/// <summary>
/// Creates the profile.
/// </summary>
/// <param name="profile">The profile.</param>
void CreateProfile(DeviceProfile profile);
/// <summary>
/// Updates the profile.
/// </summary>
/// <param name="profile">The profile.</param>
void UpdateProfile(DeviceProfile profile);
2014-03-26 19:21:29 +00:00
/// <summary>
/// Deletes the profile.
/// </summary>
/// <param name="id">The identifier.</param>
void DeleteProfile(string id);
2014-03-26 15:17:36 +00:00
2014-03-26 15:06:48 +00:00
/// <summary>
/// Gets the profile.
/// </summary>
/// <param name="id">The identifier.</param>
/// <returns>DeviceProfile.</returns>
DeviceProfile GetProfile(string id);
2014-03-13 19:08:02 +00:00
/// <summary>
/// Gets the profile.
/// </summary>
2014-03-17 14:48:16 +00:00
/// <param name="deviceInfo">The device information.</param>
/// <returns>DeviceProfile.</returns>
DeviceProfile GetProfile(DeviceIdentification deviceInfo);
2014-04-10 15:06:54 +00:00
/// <summary>
/// Gets the server description XML.
/// </summary>
/// <param name="headers">The headers.</param>
/// <param name="serverUuId">The server uu identifier.</param>
/// <returns>System.String.</returns>
string GetServerDescriptionXml(IDictionary<string, string> headers, string serverUuId);
2014-04-16 05:08:12 +00:00
/// <summary>
/// Gets the icon.
/// </summary>
/// <param name="filename">The filename.</param>
/// <returns>DlnaIconResponse.</returns>
DlnaIconResponse GetIcon(string filename);
2014-03-13 19:08:02 +00:00
}
}