Language

JniEnvironment.References Class

Definition

JNI Reference-related functionality.

public static class JniEnvironment.References
type JniEnvironment.References = class
Inheritance
JniEnvironment.References

Remarks

The JniEnvironment.References class exposes JNI Global, Local, Weak-Global-related functionality which is not exposed by the JniObjectReference class, particularly JNI reference creation and destruction.

Methods

Name Description
CreatedReference(JniObjectReference)

Account for the creation of a JNI Reference.

EnsureLocalCapacity(Int32)
GetIdentityHashCode(JniObjectReference)

Returns the same hash code for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().

GetJavaVM(IntPtr)
NewReturnToJniRef(IJavaPeerable)
NewReturnToJniRef(JniObjectReference)
PopLocalFrame(JniObjectReference)
PushLocalFrame(Int32)

Applies to