public final class PersistableBundle extends BaseBundle implements Parcelable, Cloneable
Bundle that only contains a few basic types
and itself.BaseBundle.TypeParcelable.ClassLoaderCreator<P>, Parcelable.Creator<P>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<PersistableBundle> |
CREATOR |
static PersistableBundle |
EMPTY |
mapCONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
PersistableBundle() |
PersistableBundle(int capacity) |
PersistableBundle(PersistableBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshaled representation.
|
PersistableBundle |
getPersistableBundle(String key) |
void |
putPersistableBundle(String key,
PersistableBundle bundle) |
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
clear, containsKey, equals, get, get, getBoolean, getBooleanArray, getDouble, getDouble, getDoubleArray, getInt, getInt, getIntArray, getLong, getLong, getLongArray, getString, getString, getStringArray, hashCode, isEmpty, keySet, put, putAll, putBoolean, putBooleanArray, putDouble, putDoubleArray, putInt, putIntArray, putLong, putLongArray, putString, putStringArray, readFromParcel, remove, size, toString, writeToParcelpublic static final Parcelable.Creator<PersistableBundle> CREATOR
public static final PersistableBundle EMPTY
public PersistableBundle(int capacity)
public PersistableBundle()
public PersistableBundle(PersistableBundle bundle)
public PersistableBundle getPersistableBundle(String key)
public void putPersistableBundle(String key, PersistableBundle bundle)
public int describeContents()
ParcelabledescribeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
ParcelablewriteToParcel in interface Parcelabledest - The parcelable to write to.flags - Bitmask of PARCELABLE_WRITE_* flags.Copyright © 2017. All rights reserved.