JNIEnv.ToObjectArray<T>(T[]) 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.
Converts the values in an array to Java objects.
public static Java.Lang.Object[]? ToObjectArray<T>(T[]? array);
static member ToObjectArray : 'T[] -> Java.Lang.Object[]
Type Parameters
- T
The element type of the input array.
Parameters
- array
- T[]
The values to convert, or null.
Returns
A new managed array with the same length as array, or null when array is null. A null input element produces a null result element.
Remarks
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.