예제 #1
0
		void NewBeaconsFound(object sender, BeaconsFoundEventArgs e)
		{
			_adapter.Update(e.Beacons);
			_findAllBeacons.Stop();

			count = _adapter.Count;
		}
예제 #2
0
		void NewBeaconsFound (object sender, BeaconsFoundEventArgs e)//called when _findAllBeacons is done searching
		{
			//e contains all information about detected iBeacons, including MAC address and distance from user's device
			_adapter.Update (e.Beacons);
			_findAllBeacons.Stop ();
			button.Text = string.Format ("{0} Estimote iBeacon(s) detected! Tap to retry.", _adapter.Count);
		}
예제 #3
0
        void NewBeaconsFound(object sender, BeaconsFoundEventArgs e)
        {
            _adapter.Update(e.Beacons);
            ActionBar.Subtitle = string.Format("Found {0} beacons.", _adapter.Count);
            _findAllBeacons.Stop();

            // TODO - change back to the refresh icon.
        }
예제 #4
0
 void NewBeaconsFound(object sender, BeaconsFoundEventArgs e)
 {
     _adapter.Update(e.Beacons);
     _findAllBeacons.Stop();
     RunOnUiThread(() => {
         if (_refreshItem != null)
         {
             _refreshItem.SetActionView(null);
             _refreshItem.SetIcon(Resource.Drawable.ic_refresh);
         }
     });
     ActionBar.Subtitle = string.Format("Found {0} beacons.", _adapter.Count);
 }
예제 #5
0
 void NewBeaconsFound(object sender, BeaconsFoundEventArgs e)
 {
     _adapter.Update(e.Beacons);
     //_findAllBeacons.Stop();
     RunOnUiThread(() =>{
                       if (_refreshItem != null)
                       {
                           _refreshItem.SetActionView(null);
                           _refreshItem.SetIcon(Resource.Drawable.ic_refresh);
                       }
                   });
     ActionBar.Subtitle = string.Format("Found {0} beacons.", _adapter.Count);
 }