public interface RegionMonitor<T extends RegionDecorator,E extends Packet>
Modifier and Type | Method and Description |
---|---|
void |
add(T region) |
void |
clear() |
boolean |
isActive() |
boolean |
isInsideAnyRegion() |
void |
processEnteredRegions(E packet,
BeaconServiceMessenger messenger) |
void |
processNewScanCycle(java.util.List<E> singleScan,
BeaconServiceMessenger messenger) |
boolean |
removeByRegionId(java.lang.String regionId) |
void |
setRegionExitExpiration(long period) |
void add(T region)
boolean removeByRegionId(java.lang.String regionId)
void processNewScanCycle(java.util.List<E> singleScan, BeaconServiceMessenger messenger)
boolean isActive()
void clear()
void processEnteredRegions(E packet, BeaconServiceMessenger messenger)
boolean isInsideAnyRegion()
void setRegionExitExpiration(long period)