public final class Metadata
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static interface |
Metadata.Entry
A metadata entry.
|
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Metadata> |
CREATOR |
| Constructor and Description |
|---|
Metadata(java.util.List<? extends Metadata.Entry> entries) |
Metadata(Metadata.Entry... entries) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
Metadata.Entry |
get(int index)
Returns the entry at the specified index.
|
int |
hashCode() |
int |
length()
Returns the number of metadata entries.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Metadata> CREATOR
public Metadata(Metadata.Entry... entries)
entries - The metadata entries.public Metadata(java.util.List<? extends Metadata.Entry> entries)
entries - The metadata entries.public int length()
public Metadata.Entry get(int index)
index - The index of the entry.public boolean equals(@Nullable
java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable