Package-level declarations

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Deletes the global reference pointed to by globalRef.

Link copied to clipboard

Deletes the local reference pointed to by localRef.

Link copied to clipboard

Since JDK 1.2, when FindClass is called through the Invocation Interface, there is no current native method or its associated class loader. In that case, the result of ClassLoader.getSystemClassLoader is used. This is the class loader the virtual machine creates for applications, and is able to locate classes listed in the java.class.path property.

Link copied to clipboard
fun jobject.forCommon(): jobject

Casts jni.jobject to common jobject

Link copied to clipboard
fun jobject.forPlatform(): jobject

Casts common jobject to jni.jobject

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CPointer<JNIEnvVar>.GetFieldID(classRef: jobject, name: String, returnType: String): jmethodID?

Returns the field ID for an instance (nonstatic) field of a class. The field is specified by its name and signature.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CPointer<JNIEnvVar>.GetMethodID(classRef: jobject, methodName: String, signature: String): jmethodID?

Returns the method ID for an instance (nonstatic) method of a class or interface. The method may be defined in one of the clazz’s supertypes and inherited by clazz. The method is determined by its name and signature.

Link copied to clipboard
Link copied to clipboard
fun CPointer<JNIEnvVar>.GetStaticMethodID(classRef: jobject, methodName: String, signature: String): jmethodID?

Returns the method ID for a static method of a class. The method is specified by its name and signature.

Link copied to clipboard
fun memcpy(dst: CValuesRef<*>, src: CValuesRef<*>, size: ULong): CPointer<out CPointed>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Creates a new global reference to the object referred to by the obj argument. The obj argument may be a global or local reference. Global references must be explicitly disposed of by calling DeleteGlobalRef.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Convert a native wrapper binding.ByteBuffer to a jobject representing the same binding.ByteBuffer.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun String.toJString(env: CPointer<JNIEnvVar>, encoding: Encoding = Encoding.UTF8): jstring?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Convert jobject representing a java.nio.ByteBuffer to a native binding.ByteBuffer wrapper.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun jstring.toKString(env: CPointer<JNIEnvVar>, encoding: Encoding = Encoding.UTF8, isCopy: CPointer<jbooleanVar>? = null): String?