interface documentation

class twisted.positioning.ipositioning.IPositioningReceiver(Interface): (source)

Known implementations: twisted.positioning.base.BasePositioningReceiver

View In Hierarchy

An interface for positioning providers.

Method positionReceived Method called when a position is received.
Method positionErrorReceived Method called when position error is received.
Method timeReceived Method called when time and date information arrives.
Method headingReceived Method called when a true heading is received.
Method altitudeReceived Method called when an altitude is received.
Method speedReceived Method called when the speed is received.
Method climbReceived Method called when the climb is received.
Method beaconInformationReceived Method called when positioning beacon information is received.
def positionReceived(latitude, longitude): (source)

Method called when a position is received.

ParameterslatitudeThe latitude of the received position. (type: twisted.positioning.base.Coordinate)
longitudeThe longitude of the received position. (type: twisted.positioning.base.Coordinate)
def positionErrorReceived(positionError): (source)

Method called when position error is received.

ParameterspositionErrorThe position error. (type: twisted.positioning.base.PositionError)
def timeReceived(time): (source)

Method called when time and date information arrives.

ParameterstimeThe date and time (expressed in UTC unless otherwise specified). (type: datetime.datetime)
def headingReceived(heading): (source)

Method called when a true heading is received.

ParametersheadingThe heading. (type: twisted.positioning.base.Heading)
def altitudeReceived(altitude): (source)

Method called when an altitude is received.

ParametersaltitudeThe altitude. (type: twisted.positioning.base.Altitude)
def speedReceived(speed): (source)

Method called when the speed is received.

ParametersspeedThe speed of a mobile object. (type: twisted.positioning.base.Speed)
def climbReceived(climb): (source)

Method called when the climb is received.

ParametersclimbThe climb of the mobile object. (type: twisted.positioning.base.Climb)
def beaconInformationReceived(beaconInformation): (source)

Method called when positioning beacon information is received.

ParametersbeaconInformationThe beacon information. (type: twisted.positioning.base.BeaconInformation)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.