Exemple #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);
        }
 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);
 }
 /// <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;
 }
 public XAudioPlayer(XClient client)
     : base(client)
 {
 }
 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;
 }
Exemple #9
0
 public XSystem(XClient client)
 {
     Client = client;
 }
 public XVideoPlayer(XClient client)
     : base(client)
 {
 }
 public XJsonRpc(XClient client)
 {
     mClient = client;
 }
Exemple #12
0
 public XSystem(XClient client)
 {
     Client = client;
 }
Exemple #13
0
 public XPlayer(XClient client)
 {
     Client = client;
 }