Exemplo n.º 1
0
 public virtual void OnActionReceived(BeaconEventArgs beaconEventArgs)
 {
     if (ActionReceived != null)
     {
         ActionReceived.Invoke(this, beaconEventArgs);
     }
 }
Exemplo n.º 2
0
 public virtual void OnBeaconExpiring(BeaconEventArgs beaconEventArgs)
 {
     if (BeaconExpired != null)
     {
         BeaconExpired.Invoke(this, beaconEventArgs);
     }
 }
Exemplo n.º 3
0
 private void beaconReceiver_ActionReceived(object sender, BeaconEventArgs e)
 {
     if (!beacons.Contains(e.Beacon))
     {
         beacons.Add(e.Beacon);
         adapter.NotifyDataSetChanged();
     }
 }