Metadata

public final class Metadata
extends Object

java.lang.Object
   ↳ androidx.car.app.model.Metadata


A metadata class used for attaching additional properties to models.

Summary

Nested classes

class Metadata.Builder

A builder for Metadata

Fields

public static final Metadata EMPTY_METADATA

An empty Metadata instance.

Public methods

boolean equals(Object other)
Place getPlace()

Returns a Place instance set in the metadata.

int hashCode()

Inherited methods

Fields

EMPTY_METADATA

public static final Metadata EMPTY_METADATA

An empty Metadata instance.

Public methods

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

getPlace

public Place getPlace ()

Returns a Place instance set in the metadata.

Returns
Place

hashCode

public int hashCode ()

Returns
int