Android Guides | Samples

Android.OS.Parcel.ReadArray Method

Read and return a new Object array from the parcel at the current dataPosition().

Syntax

[Android.Runtime.Register("readArray", "(Ljava/lang/ClassLoader;)[Ljava/lang/Object;", "")]
public Object[] ReadArray (ClassLoader loader)

Parameters

loader

Remarks

Read and return a new Object array from the parcel at the current dataPosition(). Returns null if the previously written array was null. The given class loader will be used to load any enclosed Parcelables.

[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