InterpolatedLocationListener constructor

InterpolatedLocationListener(
  1. void onInterpolatedLocationUpdatedLambda(
    1. Location
    )
)

This abstract class should be implemented in order to receive interpolated locations.

The interpolated locations are only provided between VisualNavigator.startRendering and VisualNavigator.stopRendering calls and the application is not running in the background.

Implementation

factory InterpolatedLocationListener(
  void Function(Location) onInterpolatedLocationUpdatedLambda,

) => InterpolatedLocationListener$Lambdas(
  onInterpolatedLocationUpdatedLambda,

);