Structure representing a signal measurement with type, identifier, RSSI, distance, and timestamp. More...
#include <com/navigine/idl/objc/NCSignalMeasurement.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithType:id:rssi:distance:time: |
| Default constructor for class NCSignalMeasurement. | |
| (NSComparisonResult) | - compare: |
Class Methods | |
| (nonnull instancetype) | + signalMeasurementWithType:id:rssi:distance:time: |
| Factory method for class NCSignalMeasurement. | |
Properties | |
| NCSignalType | type |
| Type of the signal. | |
| NSString * | id |
| Unique identifier of the signal (e.g., MAC address or UUID) | |
| float | rssi |
| Received Signal Strength Indicator (RSSI) in dBm. | |
| float | distance |
| Estimated distance to the signal source in meters. | |
| int64_t | 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 18 of file NCSignalMeasurement.h.
| - (NSComparisonResult) compare: | (nonnull NCSignalMeasurement *) | other |
| - (nonnull instancetype) initWithType: | (NCSignalType) | type | |
| id: | (nonnull NSString *) | id | |
| rssi: | (float) | rssi | |
| distance: | (float) | distance | |
| time: | (int64_t) | time |
Default constructor for class NCSignalMeasurement.
| + (nonnull instancetype) signalMeasurementWithType: | (NCSignalType) | type | |
| id: | (nonnull NSString *) | id | |
| rssi: | (float) | rssi | |
| distance: | (float) | distance | |
| time: | (int64_t) | time |
Factory method for class NCSignalMeasurement.
|
readnonatomicassign |
Estimated distance to the signal source in meters.
Swift code snippet:
Objective C code snippet:
Definition at line 92 of file NCSignalMeasurement.h.
|
readnonatomicassign |
Unique identifier of the signal (e.g., MAC address or UUID)
Swift code snippet:
Objective C code snippet:
Definition at line 64 of file NCSignalMeasurement.h.
|
readnonatomicassign |
Received Signal Strength Indicator (RSSI) in dBm.
Swift code snippet:
Objective C code snippet:
Definition at line 78 of file NCSignalMeasurement.h.
|
readnonatomicassign |
Timestamp of the measurement in milliseconds.
Swift code snippet:
Objective C code snippet:
Definition at line 106 of file NCSignalMeasurement.h.
|
readnonatomicassign |
Type of the signal.
Swift code snippet:
Objective C code snippet:
Definition at line 50 of file NCSignalMeasurement.h.