jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs

46 lines
1.2 KiB
C#
Raw Normal View History

#nullable disable
2020-02-04 00:49:27 +00:00
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
2024-02-06 21:16:41 +00:00
using System.ComponentModel;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Dlna;
2018-12-27 23:27:57 +00:00
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; }
2018-12-27 23:27:57 +00:00
public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
2018-12-27 23:27:57 +00:00
public bool SupportsMediaControl { get; set; }
2020-06-15 21:43:52 +00:00
2018-12-27 23:27:57 +00:00
public bool SupportsPersistentIdentifier { get; set; }
2020-06-15 21:43:52 +00:00
2018-12-27 23:27:57 +00:00
public DeviceProfile DeviceProfile { get; set; }
public string AppStoreUrl { get; set; }
2020-06-15 21:43:52 +00:00
2018-12-27 23:27:57 +00:00
public string IconUrl { get; set; }
2024-02-06 21:16:41 +00:00
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsContentUploading { get; set; }
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsSync { get; set; }
2018-12-27 23:27:57 +00:00
}
2018-12-27 21:43:48 +00:00
}