aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/ConnectionResult.cs
blob: 12f89d93072a90e459e1a6cb3b84f5c99549cfc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace MediaBrowser.Model.ApiClient
{
    public class ConnectionResult
    {
        public ConnectionState State { get; set; }
        public ServerInfo ServerInfo { get; set; }
        public IApiClient ApiClient { get; set; }
    }

    public enum ConnectionState
    {
        Unavailable = 1,
        ServerSignIn = 2,
        SignedIn = 3
    }

    public enum ConnectionMode
    {
        Local = 1,
        Remote = 2
    }
}