ClientCapabilities.cs 1010 B

1234567891011121314151617181920212223242526272829303132
  1. using MediaBrowser.Model.Dlna;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.Session
  4. {
  5. public class ClientCapabilities
  6. {
  7. public List<string> PlayableMediaTypes { get; set; }
  8. public List<string> SupportedCommands { get; set; }
  9. public bool SupportsMediaControl { get; set; }
  10. public string MessageCallbackUrl { get; set; }
  11. public bool SupportsContentUploading { get; set; }
  12. public bool SupportsPersistentIdentifier { get; set; }
  13. public bool SupportsSync { get; set; }
  14. public bool SupportsOfflineAccess { get; set; }
  15. public DeviceProfile DeviceProfile { get; set; }
  16. public List<string> SupportedLiveMediaTypes { get; set; }
  17. public ClientCapabilities()
  18. {
  19. PlayableMediaTypes = new List<string>();
  20. SupportedCommands = new List<string>();
  21. SupportsPersistentIdentifier = true;
  22. SupportedLiveMediaTypes = new List<string>();
  23. }
  24. }
  25. }