Exemplo n.º 1
0
        public void OnRegionStateChanged(GeofenceResult result)
        {
            var e = new Event()
            {
                Date        = (result.Transition != GeofenceTransition.Exited)?result.LastEnterTime.ToString():result.LastExitTime.ToString(),
                Id          = App.Events.Count + 1,
                Description = result.ToString()
            };

            App.Events.Add(e);
            Settings.SaveResult(e);
            Debug.WriteLine(string.Format("{0} - {1}", CrossGeofence.Id, result.ToString()));
        }
Exemplo n.º 2
0
 public void OnRegionStateChanged(GeofenceResult result)
 {
     Debug.WriteLine(string.Format("{0} - {1}", CrossGeofence.Id, result.ToString()));
 }
Exemplo n.º 3
0
 public void OnRegionStateChanged(GeofenceResult result)
 {
     Debug.WriteLine(result.ToString());
 }