SpeedPolicyProvider class abstract

Implemented types

Constructors

SpeedPolicyProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speedLimitsPolicy SpeedLimitsPolicy
Returns the speed policy corresponding to the last position that was set. If no position has been previously set, the function returns the standard speed policy.
no setter

Methods

addListener(SpeedPolicyListener speedLimitsListener) → void
The class does not retain the object in the 'speedLimitsListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(SpeedPolicyListener speedLimitsListener) → void
The class does not retain the object in the 'speedLimitsListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
toString() String
A string representation of this object.
inherited
updateSpeedLimitsPolicy(Point position) → void
Call this method, then wait for SpeedPolicyListener.onSpeedPolicyChanged to read speed policy due to asynchronous updates. SpeedPolicyListener.onSpeedPolicyChanged will be called only if speedLimitsPolicy changed

Operators

operator ==(Object other) bool
The equality operator.
inherited