JNIEnv.GetArray 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.
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
- transfer
- JniHandleOwnership
- 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
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
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.