void StartScanning()
        {
            _filterCriteria = GCKFilterCriteria.FromAvailableApplication(CAST_APP_ID);

            _deviceScanner = new GCKDeviceScanner {
                FilterCriteria = _filterCriteria
            };

            var deviceScannerListener = new DeviceScannerListener
            {
                OnDeviceDidComeOnline = d => UpdateButtonStates(),
                OnDeviceDidGoOffline  = d => UpdateButtonStates()
            };

            _deviceScanner.AddListener(deviceScannerListener);

            _deviceScanner.StartScan();
        }
		void StartScanning ()
		{
			_filterCriteria = GCKFilterCriteria.FromAvailableApplication (CAST_APP_ID);

			_deviceScanner = new GCKDeviceScanner { FilterCriteria = _filterCriteria };

			var deviceScannerListener = new DeviceScannerListener
			{
				OnDeviceDidComeOnline = d => UpdateButtonStates (),
				OnDeviceDidGoOffline = d => UpdateButtonStates ()
			};

			_deviceScanner.AddListener(deviceScannerListener);

			_deviceScanner.StartScan ();
		}