Esempio n. 1
0
        public XConnection(string ipAddress, int port, string userName, string password)
        {
            var settings = new XSettings(ipAddress, port, userName, password);
            var client   = new XClient(settings);

            XHelpers.Settings = settings;
            AudioLibrary      = new XAudioLibrary(client);
            VideoLibrary      = new XVideoLibrary(client);
            AudioPlayer       = new XAudioPlayer(client);
            VirtualRemote     = new XVirtualRemote(settings);
        }
Esempio n. 2
0
 public XConnection(string ipAddress, int port, string userName, string password)
 {
     var settings = new XSettings(ipAddress, port, userName, password);
     var client = new XClient(settings);
     Client = client;
     XHelpers.Settings = settings;
     AudioLibrary = new XAudioLibrary(client);
     VideoLibrary = new XVideoLibrary(client);
     AudioPlayer = new XAudioPlayer(client);
     VirtualRemote = new XVirtualRemote(settings);
     System = new XSystem(client);
     JsonRpc = new XJsonRpc(client);
     Input = new XInput(client);
     // new for Eden
     //Player = new XPlayer(client);
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XApplication"/> class.
 /// Eden compatibility only
 /// Throws PlatformNotSupportedException for Dharma
 /// </summary>
 /// <param name="client">The client.</param>
 public XApplication(XClient client)
 {
     Client = client;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XVideoLibrary"/> class.
 /// </summary>
 /// <param name="client">The client.</param>
 public XVideoLibrary(XClient client)
 {
     mClient = client;
 }
Esempio n. 5
0
 public XAudioPlayer(XClient client)
     : base(client)
 {
 }
Esempio n. 6
0
 public XPlaylist(XClient client)
 {
     Client = client;
 }
 public XPicturePlayer(XClient client)
     : base(client)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XAudioLibrary"/> class.
 /// </summary>
 /// <param name="client">The client.</param>
 public XAudioLibrary(XClient client)
 {
     mClient = client;
 }
Esempio n. 9
0
 public XSystem(XClient client)
 {
     Client = client;
 }
Esempio n. 10
0
 public XVideoPlayer(XClient client)
     : base(client)
 {
 }
Esempio n. 11
0
 public XJsonRpc(XClient client)
 {
     mClient = client;
 }
Esempio n. 12
0
 public XSystem(XClient client)
 {
     Client = client;
 }
Esempio n. 13
0
 public XPlayer(XClient client)
 {
     Client = client;
 }