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