-
- All Implemented Interfaces:
-
java.io.Serializable
public class RangedBeacon implements Serializable
-
-
Field Summary
Fields Modifier and Type Field Description public final static long
DEFAULT_MAX_TRACKING_AGE
public static long
maxTrackingAge
public final static long
DEFAULT_SAMPLE_EXPIRATION_MILLISECONDS
private static long
sampleExpirationMilliseconds
-
Constructor Summary
Constructors Constructor Description RangedBeacon(Beacon beacon)
-
Method Summary
Modifier and Type Method Description static void
setSampleExpirationMilliseconds(long milliseconds)
void
updateBeacon(Beacon beacon)
boolean
isTracked()
void
setTracked(boolean tracked)
Beacon
getBeacon()
void
commitMeasurements()
void
addMeasurement(Integer rssi)
static void
setMaxTrackinAge(int maxTrackinAge)
boolean
noMeasurementsAvailable()
long
getTrackingAge()
boolean
isExpired()
-
-
Constructor Detail
-
RangedBeacon
RangedBeacon(Beacon beacon)
-
-
Method Detail
-
setSampleExpirationMilliseconds
static void setSampleExpirationMilliseconds(long milliseconds)
-
updateBeacon
void updateBeacon(Beacon beacon)
-
isTracked
boolean isTracked()
-
setTracked
void setTracked(boolean tracked)
-
commitMeasurements
void commitMeasurements()
-
addMeasurement
void addMeasurement(Integer rssi)
-
setMaxTrackinAge
static void setMaxTrackinAge(int maxTrackinAge)
-
noMeasurementsAvailable
boolean noMeasurementsAvailable()
-
getTrackingAge
long getTrackingAge()
-
isExpired
boolean isExpired()
-
-
-
-