public void addRegion ( Region region ) { if ( ! regions . contains ( region ) ) { if ( serviceConnected ) { try { beaconManager . startMonitoringBeaconsInRegion ( region ) ; } catch ( RemoteException e ) { LogManager . e ( e , TAG , "Can't add bootstrap region" ) ; } } else { LogManager . w ( TAG , "Adding a region: service not yet Connected" ) ; } regions . add ( region ) ; } }
Add a new region