Package-level declarations
Functions
Link copied to clipboard
suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse
Wraps PlacesClient.fetchPhoto in a suspending function.
Link copied to clipboard
suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List<Place.Field>): FetchPlaceResponse
Wraps PlacesClient.fetchPlace in a suspending function.
Link copied to clipboard
suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse
Wraps PlacesClient.findAutocompletePredictions in a suspending function.
Link copied to clipboard
@RequiresPermission(allOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_WIFI_STATE" ] )
Wraps PlacesClient.findCurrentPlace in a suspending function.
Link copied to clipboard
inline fun fetchPhotoRequest(photoMetadata: PhotoMetadata, noinline actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest
Builds a new FetchPhotoRequest.
Link copied to clipboard
inline fun fetchPlaceRequest(placeId: String, placeFields: List<Place.Field>, noinline actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest
Builds a new FetchPlaceRequest.
Link copied to clipboard
inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest
Builds a new FindAutocompletePredictionsRequest.
Link copied to clipboard
inline fun findCurrentPlaceRequest(placeFields: List<Place.Field>, noinline actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest
Builds a new FindCurrentPlaceRequest.