address Component
fun addressComponent(name: String, types: List<String>, actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent
Deprecated
Use the version in the Places SDK instead.
Replace with
import com.google.android.libraries.places.api.model.kotlin.addressComponent
Content copied to clipboard
addressComponent(name, types, actions)Content copied to clipboard
Builds a new AddressComponent.
Return
the constructed AddressComponent
Parameters
name
the name of this address component
types
the types of this address component
actions
the actions to apply to the AddressComponent.Builder