Skip to content
Shiny.NET
GitHubTwitter
Blog

Beacons - Ranging

Beacon ranging is NOT a background operation. Beacon ranging allows you to get all information on all beacons around you.

Setup

Shiny.Beacons
Shiny.Hosting.Maui

Scanning

IBeaconRangingManager rangingManager;

// TODO

Managed Scan

The managed scan is meant to make it easier to show scan results for beacons. It will manage things like

  • Thread safety on the list
  • Changes within the list (beacon ranges changing)
  • Removing items from the list if they have haven’t been header
  • Ensure performance by using proper buffering techniques behind the scenes
IBeaconRangingManager rangingManager;

var scanner = rangingManager.CreateManagedScan();
scanner.Start();


scanner.Dispose(); // <= make sure to dispose when you're done! 

Samples