You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs

35 lines
1.1 KiB

10 years ago
using MediaBrowser.Model.Dlna;
using System.Collections.Generic;
namespace MediaBrowser.Model.Session
{
public class ClientCapabilities
{
public List<string> PlayableMediaTypes { get; set; }
public List<string> SupportedCommands { get; set; }
public bool SupportsMediaControl { get; set; }
public string MessageCallbackUrl { get; set; }
public bool SupportsContentUploading { get; set; }
10 years ago
public bool SupportsPersistentIdentifier { get; set; }
public bool SupportsSync { get; set; }
10 years ago
public bool SupportsOfflineAccess { get; set; }
10 years ago
public DeviceProfile DeviceProfile { get; set; }
10 years ago
/// <summary>
/// Usage should be migrated to SupportsPersistentIdentifier. Keeping this to preserve data.
/// </summary>
public bool? SupportsUniqueIdentifier { get; set; }
public ClientCapabilities()
{
PlayableMediaTypes = new List<string>();
SupportedCommands = new List<string>();
10 years ago
SupportsPersistentIdentifier = true;
}
}
}