private void ExitRegionComplete(object sender, MonitorEventArgs e) { System.Diagnostics.Debug.WriteLine("ExitRegionComplete ---- StopRanging"); System.Diagnostics.Debug.WriteLine(e.ToString()); MainActivity activity = Xamarin.Forms.Forms.Context as MainActivity; _beaconManager = BeaconManager.GetInstanceForApplication(activity); //_beaconManager.StopRangingBeaconsInRegion(_fieldRegion); }
private void DetermineStateForRegionComplete(object sender, MonitorEventArgs e) { System.Diagnostics.Debug.WriteLine("DetermineStateForRegionComplete"); System.Diagnostics.Debug.WriteLine(e.ToString()); }