Package-level declarations

Functions

Link copied to clipboard
fun PlacesClient.fetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): Single<FetchPhotoResponse>

Fetches a photo and emits the result in a Single.

Link copied to clipboard
fun PlacesClient.fetchPlace(    placeId: String,     placeFields: List<Place.Field>,     actions: FetchPlaceRequest.Builder.() -> Unit = {}): Single<FetchPlaceResponse>

Fetches a Place and emits the result in a Single.

Link copied to clipboard
fun PlacesClient.findAutocompletePrediction(    actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): Single<FindAutocompletePredictionsResponse>

Finds autocomplete predictions and emits the results in a Single.

Link copied to clipboard
@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.