updatePostedAndCurrentSpeed

fun updatePostedAndCurrentSpeed(    locationMatcherResult: LocationMatcherResult,     distanceFormatterOptions: DistanceFormatterOptions,     formatter: ValueFormatter<SpeedData, Int> = PostedAndCurrentSpeedFormatter()): SpeedInfoValue

Evaluates LocationMatcherResult data to calculate the posted and user's current speed.

Return

an updated state for rendering in the view

Parameters

formatter

a ValueFormatter instance

locationMatcherResult
distanceFormatterOptions