2014-03-26 11:06:48 -04:00
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
|
|
using System.Collections.Generic;
|
2014-03-13 15:08:02 -04:00
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Dlna
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IDlnaManager
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2014-03-26 11:06:48 -04:00
|
|
|
|
/// Gets the profile infos.
|
2014-03-13 15:08:02 -04:00
|
|
|
|
/// </summary>
|
2014-03-26 11:06:48 -04:00
|
|
|
|
/// <returns>IEnumerable{DeviceProfileInfo}.</returns>
|
|
|
|
|
|
IEnumerable<DeviceProfileInfo> GetProfileInfos();
|
2014-03-13 15:08:02 -04:00
|
|
|
|
|
2014-03-25 01:25:03 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the profile.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="headers">The headers.</param>
|
|
|
|
|
|
/// <returns>DeviceProfile.</returns>
|
|
|
|
|
|
DeviceProfile GetProfile(IDictionary<string,string> headers);
|
|
|
|
|
|
|
2014-03-26 11:17:36 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the default profile.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>DeviceProfile.</returns>
|
|
|
|
|
|
DeviceProfile GetDefaultProfile();
|
2014-03-26 15:21:29 -04:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Deletes the profile.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="id">The identifier.</param>
|
|
|
|
|
|
void DeleteProfile(string id);
|
2014-03-26 11:17:36 -04:00
|
|
|
|
|
2014-03-26 11:06:48 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the profile.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="id">The identifier.</param>
|
|
|
|
|
|
/// <returns>DeviceProfile.</returns>
|
|
|
|
|
|
DeviceProfile GetProfile(string id);
|
|
|
|
|
|
|
2014-03-13 15:08:02 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the profile.
|
|
|
|
|
|
/// </summary>
|
2014-03-17 10:48:16 -04:00
|
|
|
|
/// <param name="deviceInfo">The device information.</param>
|
|
|
|
|
|
/// <returns>DeviceProfile.</returns>
|
|
|
|
|
|
DeviceProfile GetProfile(DeviceIdentification deviceInfo);
|
2014-03-13 15:08:02 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|