openingHours

inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours

Deprecated

Use the version in the Places SDK instead.

Replace with

import com.google.android.libraries.places.api.model.kotlin.openingHours
openingHours(actions)

Builds a new OpeningHours.

Return

the constructed OpeningHours

Parameters

actions

the actions to apply to the OpeningHours.Builder