-
public class MonitoringStatus
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
STATUS_PRESERVATION_FILE_NAME
-
Constructor Summary
Constructors Constructor Description MonitoringStatus(Context context)
-
Method Summary
Modifier and Type Method Description static MonitoringStatus
getInstanceForApplication(Context context)
synchronized void
addRegion(Region region, Callback callback)
synchronized void
removeRegion(Region region)
synchronized Set<Region>
regions()
synchronized int
regionsCount()
synchronized RegionMonitoringState
stateOf(Region region)
synchronized void
updateNewlyOutside()
synchronized boolean
insideAnyRegion()
synchronized void
updateNewlyInsideInRegionsContaining(Beacon beacon)
synchronized void
stopStatusPreservation()
Client applications should not call directly. synchronized void
startStatusPreservation()
Client applications should not call directly. boolean
isStatePreservationOn()
synchronized void
clear()
void
updateLocalState(Region region, Integer state)
void
removeLocalRegion(Region region)
RegionMonitoringState
addLocalRegion(Region region)
-
-
Constructor Detail
-
MonitoringStatus
MonitoringStatus(Context context)
-
-
Method Detail
-
getInstanceForApplication
static MonitoringStatus getInstanceForApplication(Context context)
-
removeRegion
synchronized void removeRegion(Region region)
-
regionsCount
synchronized int regionsCount()
-
stateOf
synchronized RegionMonitoringState stateOf(Region region)
-
updateNewlyOutside
synchronized void updateNewlyOutside()
-
insideAnyRegion
synchronized boolean insideAnyRegion()
-
updateNewlyInsideInRegionsContaining
synchronized void updateNewlyInsideInRegionsContaining(Beacon beacon)
-
stopStatusPreservation
synchronized void stopStatusPreservation()
Client applications should not call directly. Call BeaconManager#setRegionStatePeristenceEnabled
-
startStatusPreservation
synchronized void startStatusPreservation()
Client applications should not call directly. Call BeaconManager#setRegionStatePeristenceEnabled
-
isStatePreservationOn
boolean isStatePreservationOn()
-
clear
synchronized void clear()
-
updateLocalState
void updateLocalState(Region region, Integer state)
-
removeLocalRegion
void removeLocalRegion(Region region)
-
addLocalRegion
RegionMonitoringState addLocalRegion(Region region)
-
-
-
-