Partager via


Parcel.ReadPersistableBundle Method

Definition

Overloads

ReadPersistableBundle()

Read and return a new Bundle object from the parcel at the current dataPosition().

ReadPersistableBundle(ClassLoader)

Read and return a new Bundle object from the parcel at the current dataPosition(), using the given class loader to initialize the class loader of the Bundle for later retrieval of Parcelable objects.

ReadPersistableBundle()

Read and return a new Bundle object from the parcel at the current dataPosition().

[Android.Runtime.Register("readPersistableBundle", "()Landroid/os/PersistableBundle;", "")]
public Android.OS.PersistableBundle? ReadPersistableBundle ();
[<Android.Runtime.Register("readPersistableBundle", "()Landroid/os/PersistableBundle;", "")>]
member this.ReadPersistableBundle : unit -> Android.OS.PersistableBundle

Returns

Attributes

Remarks

Read and return a new Bundle object from the parcel at the current dataPosition(). Returns null if the previously written Bundle object was null.

Java documentation for android.os.Parcel.readPersistableBundle().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ReadPersistableBundle(ClassLoader)

Read and return a new Bundle object from the parcel at the current dataPosition(), using the given class loader to initialize the class loader of the Bundle for later retrieval of Parcelable objects.

[Android.Runtime.Register("readPersistableBundle", "(Ljava/lang/ClassLoader;)Landroid/os/PersistableBundle;", "")]
public Android.OS.PersistableBundle? ReadPersistableBundle (Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register("readPersistableBundle", "(Ljava/lang/ClassLoader;)Landroid/os/PersistableBundle;", "")>]
member this.ReadPersistableBundle : Java.Lang.ClassLoader -> Android.OS.PersistableBundle

Parameters

loader
ClassLoader

Returns

Attributes

Remarks

Read and return a new Bundle object from the parcel at the current dataPosition(), using the given class loader to initialize the class loader of the Bundle for later retrieval of Parcelable objects. Returns null if the previously written Bundle object was null.

Java documentation for android.os.Parcel.readPersistableBundle(java.lang.ClassLoader).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to