-
- All Implemented Interfaces:
-
java.io.Serializable
public class ScanState implements Serializable
Stores the full state of scanning for the libary, including all settings so it can be ressurrected easily for running from a scheduled job Created by dyoung on 3/26/17.
-
-
Field Summary
Fields Modifier and Type Field Description public static int
MIN_SCAN_JOB_INTERVAL_MILLIS
-
Method Summary
-
-
Constructor Detail
-
ScanState
ScanState(Context context)
-
-
Method Detail
-
getBackgroundMode
Boolean getBackgroundMode()
-
setBackgroundMode
void setBackgroundMode(Boolean backgroundMode)
-
getBackgroundBetweenScanPeriod
Long getBackgroundBetweenScanPeriod()
-
setBackgroundBetweenScanPeriod
void setBackgroundBetweenScanPeriod(Long backgroundBetweenScanPeriod)
-
getBackgroundScanPeriod
Long getBackgroundScanPeriod()
-
setBackgroundScanPeriod
void setBackgroundScanPeriod(Long backgroundScanPeriod)
-
getForegroundBetweenScanPeriod
Long getForegroundBetweenScanPeriod()
-
setForegroundBetweenScanPeriod
void setForegroundBetweenScanPeriod(Long foregroundBetweenScanPeriod)
-
getForegroundScanPeriod
Long getForegroundScanPeriod()
-
setForegroundScanPeriod
void setForegroundScanPeriod(Long foregroundScanPeriod)
-
getMonitoringStatus
MonitoringStatus getMonitoringStatus()
-
setMonitoringStatus
void setMonitoringStatus(MonitoringStatus monitoringStatus)
-
getRangedRegionState
Map<Region, RangeState> getRangedRegionState()
-
setRangedRegionState
void setRangedRegionState(Map<Region, RangeState> rangedRegionState)
-
getExtraBeaconDataTracker
ExtraDataBeaconTracker getExtraBeaconDataTracker()
-
setExtraBeaconDataTracker
void setExtraBeaconDataTracker(ExtraDataBeaconTracker extraDataBeaconTracker)
-
getBeaconParsers
Set<BeaconParser> getBeaconParsers()
-
setBeaconParsers
void setBeaconParsers(Set<BeaconParser> beaconParsers)
-
getLastScanStartTimeMillis
long getLastScanStartTimeMillis()
-
setLastScanStartTimeMillis
void setLastScanStartTimeMillis(long time)
-
save
void save()
-
getScanJobIntervalMillis
int getScanJobIntervalMillis()
-
getScanJobRuntimeMillis
int getScanJobRuntimeMillis()
-
applyChanges
void applyChanges(BeaconManager beaconManager)
-
-
-
-