2014-03-13 20:08:02 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Dlna
|
|
|
|
|
{
|
|
|
|
|
public interface IDlnaManager
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the dlna profiles.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>IEnumerable{DlnaProfile}.</returns>
|
2014-03-15 05:14:07 +01:00
|
|
|
|
IEnumerable<DeviceProfile> GetProfiles();
|
2014-03-13 20:08:02 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the default profile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>DlnaProfile.</returns>
|
2014-03-15 05:14:07 +01:00
|
|
|
|
DeviceProfile GetDefaultProfile();
|
2014-03-13 20:08:02 +01:00
|
|
|
|
|
2014-03-25 06:25:03 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the profile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="headers">The headers.</param>
|
|
|
|
|
/// <returns>DeviceProfile.</returns>
|
|
|
|
|
DeviceProfile GetProfile(IDictionary<string,string> headers);
|
|
|
|
|
|
2014-03-13 20:08:02 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the profile.
|
|
|
|
|
/// </summary>
|
2014-03-17 15:48:16 +01:00
|
|
|
|
/// <param name="deviceInfo">The device information.</param>
|
|
|
|
|
/// <returns>DeviceProfile.</returns>
|
|
|
|
|
DeviceProfile GetProfile(DeviceIdentification deviceInfo);
|
2014-03-13 20:08:02 +01:00
|
|
|
|
}
|
|
|
|
|
}
|