IDlnaManager.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 profile.
  20. /// </summary>
  21. /// <param name="id">The identifier.</param>
  22. /// <returns>DeviceProfile.</returns>
  23. DeviceProfile GetProfile(string id);
  24. /// <summary>
  25. /// Gets the profile.
  26. /// </summary>
  27. /// <param name="deviceInfo">The device information.</param>
  28. /// <returns>DeviceProfile.</returns>
  29. DeviceProfile GetProfile(DeviceIdentification deviceInfo);
  30. }
  31. }