Partager via


Parcel.WriteArray(Object[]) Method

Definition

Flatten an Object array into the parcel at the current dataPosition(), growing dataCapacity() if needed.

[Android.Runtime.Register("writeArray", "([Ljava/lang/Object;)V", "")]
public void WriteArray (Java.Lang.Object[]? val);
[<Android.Runtime.Register("writeArray", "([Ljava/lang/Object;)V", "")>]
member this.WriteArray : Java.Lang.Object[] -> unit

Parameters

val
Object[]
Attributes

Remarks

Flatten an Object array into the parcel at the current dataPosition(), growing dataCapacity() if needed. The array values are written using #writeValue and must follow the specification there.

Java documentation for android.os.Parcel.writeArray(java.lang.Object[]).

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