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 |
Fields | |
|---|---|
public
static
final
Metadata |
EMPTY_METADATA
An empty |
Public methods | |
|---|---|
boolean
|
equals(Object other)
|
Place
|
getPlace()
Returns a |
int
|
hashCode()
|
Inherited methods | |
|---|---|
Fields
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 |
|
See also:
hashCode
public int hashCode ()
| Returns | |
|---|---|
int |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.