ConnectionResult.cs 444 B

1234567891011121314151617181920212223
  1. 
  2. namespace MediaBrowser.Model.ApiClient
  3. {
  4. public class ConnectionResult
  5. {
  6. public ConnectionState State { get; set; }
  7. public ServerInfo ServerInfo { get; set; }
  8. public IApiClient ApiClient { get; set; }
  9. }
  10. public enum ConnectionState
  11. {
  12. Unavailable = 1,
  13. ServerSignIn = 2,
  14. SignedIn = 3
  15. }
  16. public enum ConnectionMode
  17. {
  18. Local = 1,
  19. Remote = 2
  20. }
  21. }