jellyfin/MediaBrowser.Model/ApiClient/ConnectionResult.cs
2014-10-06 19:58:46 -04:00

29 lines
548 B
C#

namespace MediaBrowser.Model.ApiClient
{
public class ConnectionResult
{
public ConnectionState State { get; set; }
public ServerInfo ServerInfo { get; set; }
public IApiClient ApiClient { get; set; }
public ConnectionResult()
{
State = ConnectionState.Unavailable;
}
}
public enum ConnectionState
{
Unavailable = 1,
ServerSignIn = 2,
SignedIn = 3
}
public enum ConnectionMode
{
Local = 1,
Remote = 2
}
}