android - Updating regions in RegionBootstrap -
android - Updating regions in RegionBootstrap -
i have application using regionbootstrap set of regions. in oncreate method of application class instantiate regionbootstrap , pass list of regions. works great, , expected. there way update regions regionbootstrap looking later on, after instantiation? have database table storing part data, , can updated throughout lifetime of application. have content observer watching updates don't know how add/remove regions accordingly. thanks!
apologies late reply question. think can find reply similar question here:
how can "refresh" regionbootstrap (android beacon library)?
quote:
you should build regionbootstrap once. if want alter monitored regions adding new ones, straight on beaconmanager this:
beaconmanager.startmonitoringbeaconsinregion(new region("mymonitoringuniqueid", null, null, null));
android altbeacon
Comments
Post a Comment