public class RegionBootstrap extends Object
| Constructor and Description |
|---|
RegionBootstrap(BootstrapNotifier application,
List<Region> regions)
Constructor to bootstrap your Application on an entry/exit from multiple regions
|
RegionBootstrap(BootstrapNotifier application,
Region region)
Constructor to bootstrap your Application on an entry/exit from a single region.
|
RegionBootstrap(Context context,
MonitorNotifier monitorNotifier,
List<Region> regions)
Constructor to bootstrap your Application on an entry/exit from multiple regions
|
RegionBootstrap(Context context,
MonitorNotifier monitorNotifier,
Region region)
Constructor to bootstrap your Application on an entry/exit from a single region.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRegion(Region region)
Add a new region
|
void |
disable()
Used to disable additional bootstrap callbacks after the first is received.
|
void |
removeRegion(Region region)
Remove a given region
|
protected static final String TAG
public RegionBootstrap(Context context, MonitorNotifier monitorNotifier, Region region)
context - monitorNotifier - region - public RegionBootstrap(Context context, MonitorNotifier monitorNotifier, List<Region> regions)
context - monitorNotifier - regions - public RegionBootstrap(BootstrapNotifier application, Region region)
application - region - public RegionBootstrap(BootstrapNotifier application, List<Region> regions)
application - regions - public void disable()
public void addRegion(Region region)
region - public void removeRegion(Region region)
region -