Android 12 Developer Preview is here! Try it out, and give us your feedback!

Metadata.Builder

public static class Metadata.Builder
extends Object

java.lang.Object
   ↳ com.google.android.libraries.car.app.model.Metadata.Builder


A builder for Metadata.

Summary

Public methods

Metadata build()
Metadata.Builder setPlace(Place place)

Sets a Place used for showing Distance and PlaceMarker information, or null if no Place information is available.

Inherited methods

Public methods

build

public Metadata build ()

Returns
Metadata

setPlace

public Metadata.Builder setPlace (Place place)

Sets a Place used for showing Distance and PlaceMarker information, or null if no Place information is available.

Parameters
place Place

Returns
Metadata.Builder