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

46 lines
1.2 KiB

#nullable disable
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Dlna;
6 years ago
namespace MediaBrowser.Model.Session
{
public class ClientCapabilities
{
public ClientCapabilities()
{
PlayableMediaTypes = Array.Empty<MediaType>();
SupportedCommands = Array.Empty<GeneralCommandType>();
SupportsPersistentIdentifier = true;
}
public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }
6 years ago
public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
6 years ago
public bool SupportsMediaControl { get; set; }
6 years ago
public bool SupportsPersistentIdentifier { get; set; }
6 years ago
public DeviceProfile DeviceProfile { get; set; }
public string AppStoreUrl { get; set; }
6 years ago
public string IconUrl { get; set; }
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsContentUploading { get; set; } = false;
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsSync { get; set; } = false;
6 years ago
}
6 years ago
}