mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
28 lines
548 B
C#
28 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
|
|
}
|
|
}
|