Share via


Parcel.ReadValue(ClassLoader) Method

Definition

Read a typed object from a parcel.

[Android.Runtime.Register("readValue", "(Ljava/lang/ClassLoader;)Ljava/lang/Object;", "")]
public Java.Lang.Object? ReadValue (Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register("readValue", "(Ljava/lang/ClassLoader;)Ljava/lang/Object;", "")>]
member this.ReadValue : Java.Lang.ClassLoader -> Java.Lang.Object

Parameters

loader
ClassLoader

Returns

Attributes

Remarks

Read a typed object from a parcel. The given class loader will be used to load any enclosed Parcelables. If it is null, the default class loader will be used.

Java documentation for android.os.Parcel.readValue(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