class documentation

A positioning beacon.

Method __hash__ Returns the hash of the identifier for this beacon.
Method __init__ Initializes a positioning beacon.
Method __repr__ Returns a string representation of this beacon.
Instance Variable identifier The unique identifier for this beacon. This is usually an integer. For GPS, this is also known as the PRN.
def __hash__(self): (source)

Returns the hash of the identifier for this beacon.

Returns
intThe hash of the identifier. (hash(self.identifier))
def __init__(self, identifier): (source)

Initializes a positioning beacon.

Parameters
identifier:Can be pretty much anything (see ivar documentation).The identifier for this beacon.
def __repr__(self) -> str: (source)

Returns a string representation of this beacon.

Returns
strThe string representation.
identifier: Pretty much anything that can be used as a unique identifier. Depends on the implementation. = (source)

The unique identifier for this beacon. This is usually an integer. For GPS, this is also known as the PRN.