public void disable ( ) { if ( disabled ) { return ; } disabled = true ; try { for ( Region region : regions ) { beaconManager . stopMonitoringBeaconsInRegion ( region ) ; } } catch ( RemoteException e ) { LogManager . e ( e , TAG , "Can't stop bootstrap regions" ) ; } beaconManager . unbind ( beaconConsumer ) ; }
Used to disable additional bootstrap callbacks after the first is received . Unless this is called your application will be get additional calls as the supplied regions are entered or exited .