Parcel.ReadBundle Method

Definition

Overloads

ReadBundle()

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

ReadBundle(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.

ReadBundle()

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

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

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.readBundle().

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

ReadBundle(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("readBundle", "(Ljava/lang/ClassLoader;)Landroid/os/Bundle;", "")]
public Android.OS.Bundle? ReadBundle (Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register("readBundle", "(Ljava/lang/ClassLoader;)Landroid/os/Bundle;", "")>]
member this.ReadBundle : Java.Lang.ClassLoader -> Android.OS.Bundle

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.readBundle(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