Udostępnij za pośrednictwem


Parcel.CreateTypedArray(IParcelableCreator) Method

Definition

Read and return a new array containing a particular object type from the parcel at the current dataPosition().

[Android.Runtime.Register("createTypedArray", "(Landroid/os/Parcelable$Creator;)[Ljava/lang/Object;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Java.Lang.Object[]? CreateTypedArray (Android.OS.IParcelableCreator c);
[<Android.Runtime.Register("createTypedArray", "(Landroid/os/Parcelable$Creator;)[Ljava/lang/Object;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.CreateTypedArray : Android.OS.IParcelableCreator -> Java.Lang.Object[]

Parameters

Returns

Object[]

A newly created array containing objects with the same data as those that were previously written.

Attributes

Remarks

Java documentation for android.os.Parcel.createTypedArray(android.os.Creator).

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