RangingResult class
Represents the result of a WiFi RTT ranging operation to a specific access point.
Constructors
- RangingResult({required String macAddress, required RangingStatus status, required int distanceMm, required int distanceStdDevMm, required int rssi, required int numAttemptedMeasurements, required int numSuccessfulMeasurements, required int timestamp, required bool is80211azResult})
- RangingResult.fromMap(Map map)
-
Creates a RangingResult from a map received via the platform channel.
factory
Properties
- distanceMeters → double
-
The estimated distance to the access point in meters.
no setter
- distanceMm → int
-
The estimated distance to the access point in millimeters.
final
- distanceStdDevMm → int
-
The standard deviation of the measured distance in millimeters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- is80211azResult → bool
-
Indicates if 802.11az (Next Gen Positioning) was used for this measurement.
final
- macAddress → String
-
The MAC address of the target access point.
final
- numAttemptedMeasurements → int
-
The total number of measurement attempts made.
final
- numSuccessfulMeasurements → int
-
The number of measurements that were successfully completed.
final
- rssi → int
-
The signal strength (RSSI) of the ranging measurements in dBm.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → RangingStatus
-
The status of the ranging operation (success or failure).
final
- timestamp → int
-
The timestamp in milliseconds when the ranging was performed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited