Language

JniArrayElements Class

Definition

Controls managed access to a JNI primitive-array element buffer.

public abstract class JniArrayElements : IDisposable
type JniArrayElements = class
    interface IDisposable
Inheritance
JniArrayElements
Derived
Implements

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.

Properties

Name Description
Elements

Gets the acquired element-buffer pointer.

Size

Gets the buffer size recorded when this wrapper was created.

Methods

Name Description
CopyToJava()

Synchronizes with Commit without invalidating this wrapper.

Dispose()

Synchronizes with the default release mode and invalidates this wrapper, unless it is already disposed.

Release(JniReleaseArrayElementsMode)

Synchronizes with the requested mode and invalidates managed access to the element buffer.

Synchronize(JniReleaseArrayElementsMode)

Performs the array-specific synchronization operation.

Applies to