jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs

46 lines
1.2 KiB
C#
Raw Normal View History

#nullable disable
2020-02-03 19:49:27 -05:00
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
2024-02-06 16:16:41 -05:00
using System.ComponentModel;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Dlna;
2018-12-27 18:27:57 -05: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 18:27:57 -05:00
public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
2018-12-27 18:27:57 -05:00
public bool SupportsMediaControl { get; set; }
2020-06-15 17:43:52 -04:00
2018-12-27 18:27:57 -05:00
public bool SupportsPersistentIdentifier { get; set; }
2020-06-15 17:43:52 -04:00
2018-12-27 18:27:57 -05:00
public DeviceProfile DeviceProfile { get; set; }
public string AppStoreUrl { get; set; }
2020-06-15 17:43:52 -04:00
2018-12-27 18:27:57 -05:00
public string IconUrl { get; set; }
2024-02-06 16:16:41 -05: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 18:27:57 -05:00
}
2018-12-27 16:43:48 -05:00
}