IUpnpService.cs 574 B

12345678910111213141516171819202122
  1. #pragma warning disable CS1591
  2. using System.Threading.Tasks;
  3. namespace Emby.Dlna
  4. {
  5. public interface IUpnpService
  6. {
  7. /// <summary>
  8. /// Gets the content directory XML.
  9. /// </summary>
  10. /// <returns>System.String.</returns>
  11. string GetServiceXml();
  12. /// <summary>
  13. /// Processes the control request.
  14. /// </summary>
  15. /// <param name="request">The request.</param>
  16. /// <returns>ControlResponse.</returns>
  17. Task<ControlResponse> ProcessControlRequestAsync(ControlRequest request);
  18. }
  19. }