Package org.robolectric.shadows
Class ShadowRangingResult.Builder
java.lang.Object
org.robolectric.shadows.ShadowRangingResult.Builder
- Enclosing class:
- ShadowRangingResult
A builder for creating ShadowRangingResults. Status, macaddress, distance [mm] and timestamp
are all mandatory fields. Additional fields can be specified by setters. Use build() to return
the ShadowRangingResult object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setDistanceStandardDeviation
(int stddev) setIs80211mcMeasurement
(boolean is80211mcMeasurement) setLci
(byte[] lci) setLcr
(byte[] lcr) setNumAttemptedMeasurements
(int num) setNumSuccessfulMeasurements
(int num) setRssi
(int rssi) setUnverifiedResponderLocation
(ResponderLocation unverifiedResponderLocation)
-
Constructor Details
-
Builder
-
-
Method Details
-
setDistanceStandardDeviation
-
setRssi
-
setNumAttemptedMeasurements
-
setNumSuccessfulMeasurements
-
setLci
-
setLcr
-
setUnverifiedResponderLocation
public ShadowRangingResult.Builder setUnverifiedResponderLocation(ResponderLocation unverifiedResponderLocation) -
setIs80211mcMeasurement
-
build
-