public void EnterForegroundMode(Activity mainActivity)
 {
     if (IBeaconManager != null)
     {
         IBeaconManager.SetBackgroundMode(mainActivity as IBeaconConsumer, false);
     }
 }