-
public class MonitoringStatus
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringSTATUS_PRESERVATION_FILE_NAME
-
Constructor Summary
Constructors Constructor Description MonitoringStatus(Context context)
-
Method Summary
Modifier and Type Method Description static MonitoringStatusgetInstanceForApplication(Context context)synchronized voidaddRegion(Region region, Callback callback)synchronized voidremoveRegion(Region region)synchronized Set<Region>regions()synchronized intregionsCount()synchronized RegionMonitoringStatestateOf(Region region)synchronized voidupdateNewlyOutside()synchronized booleaninsideAnyRegion()synchronized voidupdateNewlyInsideInRegionsContaining(Beacon beacon)synchronized voidstopStatusPreservation()Client applications should not call directly. synchronized voidstartStatusPreservation()Client applications should not call directly. booleanisStatePreservationOn()synchronized voidclear()voidupdateLocalState(Region region, Integer state)voidremoveLocalRegion(Region region)RegionMonitoringStateaddLocalRegion(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)
-
-
-
-