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

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