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

Trip

public final class Trip
extends Object

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


Represents information about a trip including destinations, steps, and travel estimates.

This information data may be displayed in different places in the car such as the instrument cluster screens and heads-up display.

Summary

Nested classes

class Trip.Builder

A builder of Trip

Public methods

static Trip.Builder builder()

Constructs a new builder of Trip.

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

Inherited methods

Public methods

builder

public static Trip.Builder builder ()

Constructs a new builder of Trip.

Returns
Trip.Builder

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String