IDlnaManager.cs 991 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Controller.Dlna
  3. {
  4. public interface IDlnaManager
  5. {
  6. /// <summary>
  7. /// Gets the dlna profiles.
  8. /// </summary>
  9. /// <returns>IEnumerable{DlnaProfile}.</returns>
  10. IEnumerable<DeviceProfile> GetProfiles();
  11. /// <summary>
  12. /// Gets the default profile.
  13. /// </summary>
  14. /// <returns>DlnaProfile.</returns>
  15. DeviceProfile GetDefaultProfile();
  16. /// <summary>
  17. /// Gets the profile.
  18. /// </summary>
  19. /// <param name="headers">The headers.</param>
  20. /// <returns>DeviceProfile.</returns>
  21. DeviceProfile GetProfile(IDictionary<string,string> headers);
  22. /// <summary>
  23. /// Gets the profile.
  24. /// </summary>
  25. /// <param name="deviceInfo">The device information.</param>
  26. /// <returns>DeviceProfile.</returns>
  27. DeviceProfile GetProfile(DeviceIdentification deviceInfo);
  28. }
  29. }