Google is committed to advancing racial equity for Black communities. See how.

PlaceListNavigationTemplate

public final class PlaceListNavigationTemplate
extends Object implements Template

java.lang.Object
   ↳ com.google.android.libraries.car.app.navigation.model.PlaceListNavigationTemplate


A template that supports showing a list of places alongside a custom drawn map.

The template itself does not expose a drawing surface. In order to draw on the canvas, use AppManager.setSurfaceListener(SurfaceListener).

Template Restrictions

In regards to template refreshes, as described in Screen.getTemplate(), this template is considered a refresh of a previous one if:

In order to use this template your car app MUST declare that it uses the com.google.android.libraries.car.app.NAVIGATION_TEMPLATES permission in the manifest.

Summary

Nested classes

class PlaceListNavigationTemplate.Builder

A builder of PlaceListNavigationTemplate

Public methods

static PlaceListNavigationTemplate.Builder builder()

Constructs a new builder of PlaceListNavigationTemplate.

boolean equals(Object other)
int hashCode()
String toString()

Inherited methods

Public methods

builder

public static PlaceListNavigationTemplate.Builder builder ()

Constructs a new builder of PlaceListNavigationTemplate.

Returns
PlaceListNavigationTemplate.Builder

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String