ClientCapabilities.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using MediaBrowser.Model.Dlna;
  6. namespace MediaBrowser.Model.Session
  7. {
  8. public class ClientCapabilities
  9. {
  10. public ClientCapabilities()
  11. {
  12. PlayableMediaTypes = Array.Empty<string>();
  13. SupportedCommands = Array.Empty<GeneralCommandType>();
  14. SupportsPersistentIdentifier = true;
  15. }
  16. public IReadOnlyList<string> PlayableMediaTypes { get; set; }
  17. public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
  18. public bool SupportsMediaControl { get; set; }
  19. public bool SupportsContentUploading { get; set; }
  20. public string MessageCallbackUrl { get; set; }
  21. public bool SupportsPersistentIdentifier { get; set; }
  22. public bool SupportsSync { get; set; }
  23. public DeviceProfile DeviceProfile { get; set; }
  24. public string AppStoreUrl { get; set; }
  25. public string IconUrl { get; set; }
  26. }
  27. }