public BeaconRegionStatusChanged(BeaconRegion region, bool entering)
 {
     this.Region     = region;
     this.IsEntering = entering;
 }
Beispiel #2
0
        public void StopMonitoring(BeaconRegion region)
        {
            var native = this.ToNative(region);

            this.manager.StopMonitoring(native);
        }
 public RangedBeaconResults(BeaconRegion region, IList <Beacon> beacons)
 {
     this.Region  = region;
     this.Beacons = new ReadOnlyCollection <Beacon>(beacons);
 }
Beispiel #4
0
 public void StartMonitoring(BeaconRegion region)
 {
     this.repository.StartMonitoring(region);
     this.SetRegion(region);
 }
Beispiel #5
0
 public IObservable <Beacon> WhenBeaconRanged(BeaconRegion region) => this.Scan().Where(region.IsBeaconInRegion);
Beispiel #6
0
 public void StopMonitoring(BeaconRegion region) => this.conn.Delete(region.Identifier);
 public void StopTracking(BeaconRegion region) => this.conn.Delete(region.Identifier);
 public BeaconRegionStatus(BeaconRegion region)
 {
     this.Region = region;
 }