Parcel.CreateInterfaceArray(IIntFunction, IFunction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Read and return a new array of T (IInterface) from the parcel.
[Android.Runtime.Register("createInterfaceArray", "(Ljava/util/function/IntFunction;Ljava/util/function/Function;)[Landroid/os/IInterface;", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })]
public Java.Lang.Object[]? CreateInterfaceArray (Java.Util.Functions.IIntFunction newArray, Java.Util.Functions.IFunction asInterface);
[<Android.Runtime.Register("createInterfaceArray", "(Ljava/util/function/IntFunction;Ljava/util/function/Function;)[Landroid/os/IInterface;", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })>]
member this.CreateInterfaceArray : Java.Util.Functions.IIntFunction * Java.Util.Functions.IFunction -> Java.Lang.Object[]
Parameters
- newArray
- IIntFunction
a function to create an array of T with a given length
- asInterface
- IFunction
a function to convert IBinder object into T (IInterface)
Returns
the IInterface array of type T
- Attributes
Remarks
Read and return a new array of T (IInterface) from the parcel.
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.