public void removeRegion ( Region region ) { if ( regions . contains ( region ) ) { if ( serviceConnected ) { try { beaconManager . stopMonitoringBeaconsInRegion ( region ) ; } catch ( RemoteException e ) { LogManager . e ( e , TAG , "Can't stop bootstrap region" ) ; } } else { LogManager . w ( TAG , "Removing a region: service not yet Connected" ) ; } regions . remove ( region ) ; } }
Remove a given region