mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 02:56:54 +01:00
add connection manager interface
This commit is contained in:
23
MediaBrowser.Model/ApiClient/ConnectionResult.cs
Normal file
23
MediaBrowser.Model/ApiClient/ConnectionResult.cs
Normal file
@@ -0,0 +1,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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user