kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
location
/
com.siddharth.kmp.location
/
KalmanSmoother
/
smooth
smooth
fun
smooth
(
measuredLat
:
Double
,
measuredLng
:
Double
,
accuracyMeters
:
Float
,
timestampMs
:
Long
)
:
Pair
<
Double
,
Double
>
Smooth a new GPS measurement.
Return
Pair(smoothedLat, smoothedLng)