SignalMeasurement class
Structure representing a signal measurement with type, identifier, RSSI, distance, and timestamp. Referenced from MeasurementListener.
- Available extensions
Constructors
- SignalMeasurement(SignalType type, String id, double rssi, double distance, int time)
- Default constructor.
Properties
- distance ↔ double
-
Estimated distance to the signal source in meters
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Unique identifier of the signal (e.g., MAC address or UUID)
getter/setter pair
- rssi ↔ double
-
Received Signal Strength Indicator (RSSI) in dBm
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time ↔ int
-
Timestamp of the measurement in milliseconds
getter/setter pair
- type ↔ SignalType
-
Type of the signal
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited