-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MonitoringListener should return list of beacons that triggered enter/exit event #18
Comments
Region object that is passed in the callback is the same that was given in startMonitoring/startRanging methods. This is working as intended since you want to be able to distinguish monitored/ranged regions. In ranging you have this information. Take a look at RangingListener#onBeaconsDiscovered. Second param is list of beacons that are being seen in this region. When it comes to monitoring and getting info which beacons triggered enter/exit events, it is on the way in the next release. |
Ok. We have the following requirement: |
Yes, you can use single region for all your beacons that is 'new Region("regionId", null, null, null)' and differentiate them in your app. You can also set your beacons' identifiers in order to match location. That is major/minor values could indicate a location. And you can monitor only those regions. |
0.4.2 (June 24, 2014): Fixes Estimote/Android-Fleet-Management-SDK#55: it is safe to use library from remote process 0.4.1 (March 18, 2014) CAN BREAK BUILD: MonitoringListener returns list of beacons the triggered enter region event (Estimote/Android-Fleet-Management-SDK#18) Better messaging when BeaconManager cannot start service to scan beacons (Estimote/Android-Fleet-Management-SDK#25) Fixed bug in SDK when other beacons are around (Estimote/Android-Fleet-Management-SDK#27)
When running a MonitorListener or RangingListener we discovered the following problem:
When starting it for a region with specified major and minor values, these values are returned. When starting it for the ALL_ESTIMOTE_BEACONS region (with Major and Minor set to null) the region that is passed to the callback methods contains null in Major and Minor.
This might as well be a feature request: How can I monitor/range for all major/minors for a given uuid - yet when the region is entered, I get the exact major and minor values of the region that triggered the event?
The text was updated successfully, but these errors were encountered: