Structure representing a signal measurement with type, identifier, RSSI, distance, and timestamp. More...
Public Member Functions | |
| SignalMeasurement (this.type, this.id, this.rssi, this.distance, this.time) | |
| Default constructor. | |
Public Attributes | |
| SignalType | type |
| Type of the signal. | |
| String | id |
| Unique identifier of the signal (e.g., MAC address or UUID) | |
| double | rssi |
| Received Signal Strength Indicator (RSSI) in dBm. | |
| double | distance |
| Estimated distance to the signal source in meters. | |
| int | time |
| Timestamp of the measurement in milliseconds. | |
Structure representing a signal measurement with type, identifier, RSSI, distance, and timestamp.
Referenced from MeasurementListener.
Definition at line 19 of file signal_measurement.dart.
| SignalMeasurement.SignalMeasurement | ( | this. | type, |
| this. | id, | ||
| this. | rssi, | ||
| this. | distance, | ||
| this. | time ) |
Default constructor.
| double SignalMeasurement.distance |
Estimated distance to the signal source in meters.
Dart code snippet:
Definition at line 61 of file signal_measurement.dart.
| String SignalMeasurement.id |
Unique identifier of the signal (e.g., MAC address or UUID)
Dart code snippet:
Definition at line 41 of file signal_measurement.dart.
| double SignalMeasurement.rssi |
Received Signal Strength Indicator (RSSI) in dBm.
Dart code snippet:
Definition at line 51 of file signal_measurement.dart.
| int SignalMeasurement.time |
Timestamp of the measurement in milliseconds.
Dart code snippet:
Definition at line 71 of file signal_measurement.dart.
| SignalType SignalMeasurement.type |
Type of the signal.
Dart code snippet:
Definition at line 31 of file signal_measurement.dart.