Parcel.CreateInterfaceArrayList(IFunction) Method

Definition

Read and return a new ArrayList containing T (IInterface) objects from the parcel that was written with #writeInterfaceList at the current dataPosition().

[Android.Runtime.Register("createInterfaceArrayList", "(Ljava/util/function/Function;)Ljava/util/ArrayList;", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })]
public System.Collections.IList? CreateInterfaceArrayList (Java.Util.Functions.IFunction asInterface);
[<Android.Runtime.Register("createInterfaceArrayList", "(Ljava/util/function/Function;)Ljava/util/ArrayList;", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })>]
member this.CreateInterfaceArrayList : Java.Util.Functions.IFunction -> System.Collections.IList

Parameters

asInterface
IFunction

Returns

A newly created ArrayList containing T (IInterface)

Attributes

Remarks

Read and return a new ArrayList containing T (IInterface) objects from the parcel that was written with #writeInterfaceList at the current dataPosition(). Returns null if the previously written list object was null.

Java documentation for android.os.Parcel.createInterfaceArrayList(java.util.function.Function<android.os.IBinder, 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