awaitIsOpen

@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitIsOpen(place: Place, utcTimeMillis: Long? = null): IsOpenResponse

Deprecated

Use the version in the Places SDK instead.

Replace with

this.awaitIsOpen(place, utcTimeMillis)

Wraps PlacesClient.isOpen in a suspending function with the given Place object.

Returns whether a place is open. If an error occurred, an ApiException will be thrown.


@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitIsOpen(placeId: String, utcTimeMillis: Long? = null): IsOpenResponse

Deprecated

Use the version in the Places SDK instead.

Replace with

this.awaitIsOpen(placeId, utcTimeMillis)

Wraps PlacesClient.isOpen in a suspending function with the given placeId.

Returns whether a place is open. If an error occurred, an ApiException will be thrown.