public static final class ShadowRangingResult.Builder extends Object
Constructor | Description |
---|---|
Builder(int status,
MacAddress mac,
long timestamp,
int distanceMm) |
Modifier and Type | Method | Description |
---|---|---|
RangingResult |
build() |
|
ShadowRangingResult.Builder |
setDistanceStandardDeviation(int stddev) |
|
ShadowRangingResult.Builder |
setLci(byte[] lci) |
|
ShadowRangingResult.Builder |
setLcr(byte[] lcr) |
|
ShadowRangingResult.Builder |
setNumAttemptedMeasurements(int num) |
|
ShadowRangingResult.Builder |
setNumSuccessfulMeasurements(int num) |
|
ShadowRangingResult.Builder |
setRssi(int rssi) |
public Builder(int status, MacAddress mac, long timestamp, int distanceMm)
public ShadowRangingResult.Builder setDistanceStandardDeviation(int stddev)
public ShadowRangingResult.Builder setRssi(int rssi)
public ShadowRangingResult.Builder setNumAttemptedMeasurements(int num)
public ShadowRangingResult.Builder setNumSuccessfulMeasurements(int num)
public ShadowRangingResult.Builder setLci(byte[] lci)
public ShadowRangingResult.Builder setLcr(byte[] lcr)
public RangingResult build()