ExamplePositionProvider class
- Inheritance
-
- Object
- MPPositionProviderInterface
- ExamplePositionProvider
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestPosition → MPPositionResultInterface?
-
Invoked when the latest valid position is needed
no setteroverride
- name → String
-
The name of the position provider, used to identify it
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addOnPositionUpdateListener(
OnPositionUpdateListener listener) → void -
Add a
listener
to the position provideroverride -
clearPosition(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeOnPositionUpdateListener(
OnPositionUpdateListener listener) → void -
Remove a
listener
override -
toString(
) → String -
A string representation of this object.
inherited
-
updatePosition(
MPPoint pos, {num? accuracy, num? bearing, int? floorIndex}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited