Firebase Kotlin SDK
Toggle table of contents
3.0.0-beta1
common
Platform filter
common
Switch theme
Search in API
Firebase Kotlin SDK
firebase-firestore
/
com.google.firebase.firestore.pipeline
/
FindNearestOptions
Find
Nearest
Options
class
FindNearestOptions
:
AbstractOptions
<
FindNearestOptions
>
(
source
)
Options of a
findNearest
stage.
Members
Constructors
Find
Nearest
Options
Link copied to clipboard
constructor
(
)
Functions
with
Link copied to clipboard
fun
with
(
key
:
String
,
value
:
Field
)
:
FindNearestOptions
fun
with
(
key
:
String
,
value
:
RawOptions
)
:
FindNearestOptions
fun
with
(
key
:
String
,
value
:
Boolean
)
:
FindNearestOptions
fun
with
(
key
:
String
,
value
:
Double
)
:
FindNearestOptions
fun
with
(
key
:
String
,
value
:
Long
)
:
FindNearestOptions
fun
with
(
key
:
String
,
value
:
String
)
:
FindNearestOptions
with
Distance
Field
Link copied to clipboard
fun
withDistanceField
(
distanceField
:
Field
)
:
FindNearestOptions
fun
withDistanceField
(
distanceField
:
String
?
)
:
FindNearestOptions
?
with
Limit
Link copied to clipboard
fun
withLimit
(
limit
:
Long
)
:
FindNearestOptions