-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
APIs
-
Future<bool> hasCapability() -
Future<bool> isAvailable() -
Stream<bool> get onAvailabilityChanged -
Future<Result<RangingResult,RangingError>> requestRanging(List<RangingDevice> devices)
Platform Feature Coverage
- Android (
android.net.wifi.rttpackage) - constants
-
PackageManager.FEATURE_WIFI_RTT -
WifiRttManager.ACTION_WIFI_RTT_STATE_CHANGED -
Context.WIFI_RTT_RANGING_SERVICE -
RangingResultCallback. STATUS_CODE_FAIL -
RangingResultCallback.STATUS_CODE_FAIL_RTT_NOT_AVAILABLE -
RangingResult. STATUS_FAIL -
RangingResult.STATUS_RESPONDER_DOES_NOT_SUPPORT_IEEE80211MC -
RangingResult.STATUS_SUCCESS -
CivicLocationKeys.** -
ResponderLocation.**
-
- methods
-
WifiRttManager-
isAvailable() -
startRanging(RangingRequest request, Executor executor, RangingResultCallback callback)
-
-
RangingRequest.Builder-
addAccessPoint(ScanResult apInfo)/addAccessPoint(List<ScanResult> apInfos) -
addNon80211mcCapableAccessPoint(ap)/addNon80211mcCapableAccessPoints(List<ScanResult> aps) -
addWifiAwarePeer(MacAddress peerAddr)/addWifiAwarePeer(PeerHandle peerHandle) -
addResponder(ResponderConfig responder)/addResponder(List<ResponderConfig> responders) -
setRttBurstSize(int rttBurstSize)
-
-
RangingResultCallback-
onRangingFailure(int code) -
onRangingResults((List<RangingResult> results))
-
-
RangingResult-
getDistanceMm() -
getDistanceStdDevMm() -
getMacAddress() -
getNumAttemptedMeasurements() -
getNumSuccessfulMeasurements() -
getPeerHandle() -
getRangingTimestampMillis() -
getRssi() -
getStatus() -
getUnverifiedResponderLocation() -
is80211mcMeasurement()
-
-
ResponderLocation-
getAltitude() -
getAltitudeType() -
getAltitudeUncertainty() -
getColocatedBssids() -
getDatum() -
getExpectedToMove() -
getFloorNumber() -
getHeightAboveFloorMeters() -
getHeightAboveFloorUncertaintyMeters() -
getLatitude() -
getLatitude() -
getLciVersion() -
getLongitude() -
getLongitudeUncertainty() -
getMapImageMimeType() -
getMapImageUri() -
getRegisteredLocationAgreementIndication() -
isLciSubelementValid() -
isZaxisSubelementValid() -
toCivicLocationAddress() -
toCivicLocationSparseArray() -
toLocation()
-
-
ResponderConfig.Builder- ??
-
Documentation
- document API references
- proper README
Test
- automated unit tests
- dart code
- android code
- ios code
- automated integration tests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels