class twisted.positioning.base.BeaconInformation: (source)
Information about positioning beacons (a generalized term for the reference objects that help you determine your position, such as satellites or cell towers).
Instance Variable | seenBeacons | A set of visible beacons. Note that visible beacons are not necessarily used in acquiring a positioning fix. |
Instance Variable | usedBeacons | A set of the beacons that were used in obtaining a positioning fix. This only contains beacons that are actually used, not beacons for which it is unknown if they are used or not. |
Method | __init__ | Initializes a beacon information object. |
Method | __repr__ | Returns a string representation of this beacon information object. |
set
of IPositioningBeacon
)
set
of IPositioningBeacon
)
Initializes a beacon information object.
Parameters | seenBeacons | A collection of beacons that are currently seen. (type: iterable of IPositioningBeacon s) |
Returns a string representation of this beacon information object.
The beacons are sorted by their identifier.
Returns | The string representation. (type: str ) |