void timerHandler (object sender, ElapsedEventArgs e)
{
try{
SystemLogger.Log (SystemLogger.Module.PLATFORM,"ELAPSED!!!! beaconDict Size: "+beaconDict.Count);
UIApplication.SharedApplication.InvokeOnMainThread (delegate {
BeaconUtils.FireUnityJavascriptEvent ("Appverse.Beacon.OnEntered", new Object[]{ beaconDict.Values.ToArray()});
beaconDict.Clear();
});
StopMonitoringBeacons ();
tmr.Stop ();
tmr.Close ();
}catch(Exception ex){
SystemLogger.Log (SystemLogger.Module.PLATFORM, "Could not create the timer, STOP mannually. Exception: " + ex.Message);
}
}