firebase-multiplatform
Toggle table of contents
0.3.0
common
Target filter
common
Switch theme
Search in API
Skip to content
firebase-multiplatform
firebase-firestore
/
com.google.firebase.firestore.pipeline
/
FindNearestOptions
/
withDistanceField
with
Distance
Field
fun
withDistanceField
(
distanceField
:
Field
)
:
FindNearestOptions
(
source
)
fun
withDistanceField
(
distanceField
:
String
?
)
:
FindNearestOptions
?
(
source
)
A copy writing the distance of each result to the field
distanceField
.