次の方法で共有


Parcel.WriteInterfaceArray(Object[]) Method

Definition

Flatten a homogeneous array containing an IInterface type into the parcel, at the current dataPosition() and growing dataCapacity() if needed.

[Android.Runtime.Register("writeInterfaceArray", "([Landroid/os/IInterface;)V", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })]
public void WriteInterfaceArray (Java.Lang.Object[]? val);
[<Android.Runtime.Register("writeInterfaceArray", "([Landroid/os/IInterface;)V", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })>]
member this.WriteInterfaceArray : Java.Lang.Object[] -> unit

Parameters

val
Object[]

The array of objects to be written.

Attributes

Remarks

Flatten a homogeneous array containing an IInterface type into the parcel, at the current dataPosition() and growing dataCapacity() if needed. The type of the objects in the array must be one that implements IInterface.

Java documentation for android.os.Parcel.writeInterfaceArray(T[]).

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