Language

JniEnvironment.Arrays.ReleaseFloatArrayElements Method

Definition

Releases or commits a Java float-array elements buffer.

public static void ReleaseFloatArrayElements(Java.Interop.JniObjectReference array, float* elements, Java.Interop.JniReleaseArrayElementsMode mode);
static member ReleaseFloatArrayElements : Java.Interop.JniObjectReference * nativeptr<single> * Java.Interop.JniReleaseArrayElementsMode -> unit

Parameters

array
JniObjectReference

The original valid Java float-array reference.

elements
Single*

The pointer acquired with GetFloatArrayElements for this array.

mode
JniReleaseArrayElementsMode

Controls copy-back and release for a copied buffer; Commit requires a later final release.

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