aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/ClientCapabilities.cs
blob: 095ad472a25bfd25e93f885a00d6c128338c1f40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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; }
        public bool SupportsPersistentIdentifier { get; set; }
        public bool SupportsSync { get; set; }
        public bool SupportsOfflineAccess { get; set; }

        public DeviceProfile DeviceProfile { get; set; }
        public List<string> SupportedLiveMediaTypes { get; set; }

        public string AppUrl { get; set; }
        public string AppImageUrl { get; set; }

        public ClientCapabilities()
        {
            PlayableMediaTypes = new List<string>();
            SupportedCommands = new List<string>();
            SupportsPersistentIdentifier = true;
            SupportedLiveMediaTypes = new List<string>();
        }
    }
}