< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Session.ClientCapabilities
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 45
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4using System;
 5using System.Collections.Generic;
 6using System.ComponentModel;
 7using Jellyfin.Data.Enums;
 8using MediaBrowser.Model.Dlna;
 9
 10namespace MediaBrowser.Model.Session
 11{
 12    public class ClientCapabilities
 13    {
 14        public ClientCapabilities()
 15        {
 1716            PlayableMediaTypes = Array.Empty<MediaType>();
 1717            SupportedCommands = Array.Empty<GeneralCommandType>();
 1718            SupportsPersistentIdentifier = true;
 1719        }
 20
 21        public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }
 22
 23        public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
 24
 25        public bool SupportsMediaControl { get; set; }
 26
 27        public bool SupportsPersistentIdentifier { get; set; }
 28
 29        public DeviceProfile DeviceProfile { get; set; }
 30
 31        public string AppStoreUrl { get; set; }
 32
 33        public string IconUrl { get; set; }
 34
 35        // TODO: Remove after 10.9
 36        [Obsolete("Unused")]
 37        [DefaultValue(false)]
 1738        public bool? SupportsContentUploading { get; set; } = false;
 39
 40        // TODO: Remove after 10.9
 41        [Obsolete("Unused")]
 42        [DefaultValue(false)]
 1743        public bool? SupportsSync { get; set; } = false;
 44    }
 45}

Methods/Properties

.ctor()