I am developing an application in which I am using Beacons. I have gone through the related Estimote SDK for the same. Now the thing is that I need to know the Unique Id of a particular Beacon. Suppose I am having 3 Beacons and all are present in the range of a device. Now I want to perform different functions based on the Unique Id of the Beacons. For this I need to know the Unique Id of each and every Beacon. Currently I am giving UUID for a Beacon and just checking whether its in the region of the device or not. My code is as follows :-
private static final String ESTIMOTE_PROXIMITY_UUID = "XYZ";
private static final Region ALL_ESTIMOTE_BEACONS = new Region("regionId",ESTIMOTE_PROXIMITY_UUID, null, null);
beaconManager.setMonitoringListener(new MonitoringListener() {
@Override
public void onExitedRegion(Region region) {
//Region Exited
}
@Override
public void onEnteredRegion(Region arg0, List<Beacon> arg1) {
// TODO Auto-generated method stub
//Do something ...
}
});
Now I need to get the Unique Id of the Beacon programmatically so that I can take decision depending on the IDs. Please help me to sort out the same. Any help would be appreciable. Thanks.