Exemplo n.º 1
0
 public override IObservable <Beacon> WhenBeaconRanged(BeaconRegion region)
 => this.Scan().Where(region.IsBeaconInRegion);
Exemplo n.º 2
0
        public override async Task StartMonitoring(BeaconRegion region)
        {
            await this.Repository.Set(region.Identifier, region);

            this.manager.StartMonitoring(region.ToNative());
        }
Exemplo n.º 3
0
        public override async Task StopMonitoring(BeaconRegion region)
        {
            await this.Repository.Remove <BeaconRegion>(region.Identifier);

            this.manager.StopMonitoring(region.ToNative());
        }
Exemplo n.º 4
0
 public BeaconRegionStatus(BeaconRegion region)
 {
     this.Region = region;
 }
Exemplo n.º 5
0
 public abstract Task StopMonitoring(BeaconRegion region);
Exemplo n.º 6
0
 public abstract IObservable <Beacon> WhenBeaconRanged(BeaconRegion region);
Exemplo n.º 7
0
 public override Task StartMonitoring(BeaconRegion region)
 => this.Repository.Set(region.Identifier, region);
Exemplo n.º 8
0
        public override async Task StartMonitoring(BeaconRegion region)
        {
            await this.Repository.Set(region.Identifier, region);

            this.SetRegion(region);
        }