Android Guides | Samples

Android.OS.Parcel.ReadPersistableBundle Method

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.

Syntax

[Android.Runtime.Register("readPersistableBundle", "(Ljava/lang/ClassLoader;)Landroid/os/PersistableBundle;", "")]
public PersistableBundle ReadPersistableBundle (ClassLoader loader)

Parameters

loader

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.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1