Language

JavaPrimitiveArray<T>.GetElements Method

Definition

Acquires a native element-buffer wrapper through the derived implementation.

public Java.Interop.JniArrayElements GetElements();
member this.GetElements : unit -> Java.Interop.JniArrayElements

Returns

The acquired wrapper. Dispose it before disposing this array, and keep the array alive while using its elements.

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