IDlnaManager.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using MediaBrowser.Model.Dlna;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Controller.Dlna
  4. {
  5. public interface IDlnaManager
  6. {
  7. /// <summary>
  8. /// Gets the profile infos.
  9. /// </summary>
  10. /// <returns>IEnumerable{DeviceProfileInfo}.</returns>
  11. IEnumerable<DeviceProfileInfo> GetProfileInfos();
  12. /// <summary>
  13. /// Gets the profile.
  14. /// </summary>
  15. /// <param name="headers">The headers.</param>
  16. /// <returns>DeviceProfile.</returns>
  17. DeviceProfile GetProfile(IDictionary<string,string> headers);
  18. /// <summary>
  19. /// Gets the default profile.
  20. /// </summary>
  21. /// <returns>DeviceProfile.</returns>
  22. DeviceProfile GetDefaultProfile();
  23. /// <summary>
  24. /// Gets the profile.
  25. /// </summary>
  26. /// <param name="id">The identifier.</param>
  27. /// <returns>DeviceProfile.</returns>
  28. DeviceProfile GetProfile(string id);
  29. /// <summary>
  30. /// Gets the profile.
  31. /// </summary>
  32. /// <param name="deviceInfo">The device information.</param>
  33. /// <returns>DeviceProfile.</returns>
  34. DeviceProfile GetProfile(DeviceIdentification deviceInfo);
  35. }
  36. }