findCurrentPlace

@RequiresPermission(allOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_WIFI_STATE"])
fun PlacesClient.findCurrentPlace(placeFields: List<Place.Field>): Single<FindCurrentPlaceResponse>

Finds the current place and emits it in a Single.

Return

the Single emitting the current place

Parameters

placeFields

the fields to return for the retrieved Place