JNIEnv.GetArray Method

Definition

Overloads

GetArray(IntPtr, JniHandleOwnership, Type)
GetArray<T>(Object[])
GetArray<T>(IntPtr)

GetArray(IntPtr, JniHandleOwnership, Type)

public static Array? GetArray (IntPtr array_ptr, Android.Runtime.JniHandleOwnership transfer, Type? element_type = default);
static member GetArray : nativeint * Android.Runtime.JniHandleOwnership * Type -> Array

Parameters

array_ptr
IntPtr

nativeint

element_type
Type

Returns

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.

Applies to

GetArray<T>(Object[])

public static T[]? GetArray<T> (Java.Lang.Object[] array);
static member GetArray : Java.Lang.Object[] -> 'T[]

Type Parameters

T

Parameters

array
Object[]

Returns

T[]

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.

Applies to

GetArray<T>(IntPtr)

public static T[]? GetArray<T> (IntPtr array_ptr);
static member GetArray : nativeint -> 'T[]

Type Parameters

T

Parameters

array_ptr
IntPtr

nativeint

Returns

T[]

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.

Applies to